package
0.0.0-20240208133358-b46fc268ba2c
Repository: https://github.com/diptanw/go-toolkit.git
Documentation: pkg.go.dev
# Functions
CORS is a middleware func that allows cross-origin requests.
New returns a new instance of Server.
WithAuthenticator returns a copy of http.Client with authentication transport.
WithDummy returns a copy of http.Client with dummy authentication transport.
# Interfaces
Authenticator defines the request authentication function.
Listener is an interface for http server listener.
# Type aliases
MiddlewareFunc is a func type for middleware http handler.