Add validation to config
This commit is contained in:
@@ -17,6 +17,12 @@ type FileStore interface {
|
||||
ListFiles() ([]*pb.ListFilesResponse_ListFileInfo, error)
|
||||
}
|
||||
|
||||
type DataStore interface {
|
||||
BinaryStore
|
||||
CertificateStore
|
||||
UserStore
|
||||
}
|
||||
|
||||
type CertificateStore interface {
|
||||
GetCertificate(serial string) (*x509.Certificate, error)
|
||||
StoreCertificate(cert *x509.Certificate) error
|
||||
|
Reference in New Issue
Block a user