Add settings value protobuf and store implementation

This commit is contained in:
Benedikt Kulmann
2020-04-28 19:47:04 +02:00
parent 4ce01fe8c0
commit 2ea182243f
15 changed files with 1575 additions and 212 deletions
+4 -1
View File
@@ -23,7 +23,10 @@ func Server(opts ...Option) grpc.Service {
handle := svc.NewService(options.Config)
if err := proto.RegisterBundleServiceHandler(service.Server(), handle); err != nil {
options.Logger.Fatal().Err(err).Msg("could not register service handler")
options.Logger.Fatal().Err(err).Msg("could not register SettingsBundles service handler")
}
if err := proto.RegisterValueServiceHandler(service.Server(), handle); err != nil {
options.Logger.Fatal().Err(err).Msg("could not register SettingsValues service handler")
}
service.Init()