Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPC ¶
func GRPC(ctx context.Context, addr string, l logger.Logger, connFactory *secureconn.Factory, e engine.Engine, migrationsConfig migration.Config, dataMigrationsConfig datamigration.Config, eventServiceAddress string, configFile string) error
GRPC creates and listens on grpc server.
func InputValidationInterceptor ¶
func InputValidationInterceptor() grpc.UnaryServerInterceptor
InputValidationInterceptor is a middleware for running the protobuf validation.
func NewGRPCServer ¶
func NewGRPCServer(ctx context.Context, connFactory *secureconn.Factory, l logger.Logger, e engine.Engine, migrationsConfig migration.Config, dataMigrationsConfig datamigration.Config, eventServiceAddress string, configFile string) (*grpc.Server, error)
NewGRPCServer creates a grpc server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.