Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGatewayHandler ¶
func CreateGatewayHandler( grpcPort uint16, mux *http.ServeMux, apiBasePath string, corsAllowedOrigins []string, spec string, handlers ...func(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error, ) (shutdown func())
CreateGatewayHandler configures the gRPC API gateway by registering relevant handlers with the given mux.
func CreateGrpcServer ¶
func CreateGrpcServer( keepaliveParams keepalive.ServerParameters, keepaliveEnforcementPolicy keepalive.EnforcementPolicy, authServices []authorization.AuthService, ) *grpc.Server
CreateGrpcServer creates a gRPC server (by calling grpc.NewServer) with settings specific to this project, and registers services for, e.g., logging and authentication.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.