fix: start grpc gateway/server

This commit is contained in:
Fabiennne
2020-03-30 18:08:54 +02:00
parent 108876348f
commit 9900e53afa
7 changed files with 16 additions and 9 deletions

View File

@@ -17,7 +17,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()),