package
1.1.7
Repository: https://github.com/melonwool/go-zero.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CorsHandler handles cross domain OPTIONS requests.
MustNewServer returns a server with given config of c and options defined in opts.
NewServer returns a server with given config of c and options defined in opts.
ToMiddleware converts the given handler to a Middleware.
WithJwt returns a func to enable jwt authentication in given route.
WithJwtTransition returns a func to enable jwt authentication as well as jwt secret transition.
WithMiddleware adds given middleware to given route.
WithMiddlewares adds given middlewares to given routes.
WithNotAllowedHandler returns a RunOption with not allowed handler set to given handler.
WithNotFoundHandler returns a RunOption with not found handler set to given handler.
WithPriority returns a RunOption with priority.
WithRouter returns a RunOption that make server run with given router.
WithSignature returns a RouteOption to enable signature verification.
WithUnauthorizedCallback returns a RunOption that with given unauthorized callback set.
WithUnsignedCallback returns a RunOption that with given unsigned callback set.

# Variables

ErrSignatureConfig is an error that indicates bad config for signature.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author