package
0.0.14
Repository: https://github.com/easeq/go-service.git
Documentation: pkg.go.dev

# Functions

NewConfig returns the parsed config for gateway server from env.
NewInitializer returns a new REST server initialiazer.
NewRest creates and returns rest server.
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.
No description provided by the author
Rest server using gofiber.

# Type aliases

Option to pass as arg while creating new service.