fix: start grpc gateway/server

This commit is contained in:
Fabiennne
2020-03-30 18:18:17 +02:00
parent 108876348f
commit 9900e53afa
7 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ type Config struct {
GRPC grpc_util.Config
}
func Start(ctx context.Context, conf *Config) error {
func Start(ctx context.Context, conf Config) error {
api := &API{
grpcServer: *grpc.StartServer(conf.GRPC.ToServerConfig()),
gateway: *grpc.StartGateway(conf.GRPC.ToGatewayConfig()),