databroker: add encryption for records (#1168)

This commit is contained in:
Caleb Doxsey 2020-07-30 14:04:31 -06:00 committed by GitHub
parent 8cae3f27bb
commit 29fb96a955
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 332 additions and 7 deletions

5
cache/cache.go vendored
View file

@ -67,7 +67,10 @@ func New(opts config.Options) (*Cache, error) {
return nil, err
}
dataBrokerServer := NewDataBrokerServer(localGRPCServer, opts)
dataBrokerServer, err := NewDataBrokerServer(localGRPCServer, opts)
if err != nil {
return nil, err
}
dataBrokerClient := databroker.NewDataBrokerServiceClient(localGRPCConnection)
manager := manager.New(