# Functions
NewConfig returns the parsed config for gateway server from env.
NewGateway creates and returns gRPC-gateway.
NewInitializer returns a new JetStream Initialiazer.
WithHTTPServiceHandlerRegistrar add HTTP service handle registration callback.
WithMiddleware adds middleware to the rest handler.
WithMuxOptions adds mux options.
# Constants
SERVER_TYPE is the type of the server.
# Variables
ErrCannotAddMuxOptionAtPos returned when adding new mux option at the specified position is not possible.
ErrGatewayConfigLoad returned when env config for gRPC-gateway results in an error.
ErrHTTPServiceHandlerRegFailed returned when any HTTP service handler registration fails.
ErrNotDefinedHTTPServiceHandlerRegistrar thrown when http service registration handler is not provided.
# Structs
Config manages the HTTP server config.
Gateway handle gRPC gateway.
No description provided by the author
Metadata holds the metadata used by the gateway server.
# Type aliases
HTTPServiceHandlerRegistrar HTTP service handler registration func.
Middleware type.
Option to pass as arg while creating new service.