toss config struct around

This commit is contained in:
A.Unger
2020-02-04 10:16:12 +01:00
parent 7431297a1c
commit 2ff87de71f
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -12,6 +12,7 @@ import (
// NewService creates a grpc service
func NewService(c context.Context) grpc.Service {
service := grpc.NewService(
// TODO options come from configuration
grpc.Name("accounts"),
grpc.Namespace("com.owncloud"),
grpc.Address("localhost:9999"),