package
0.0.0-20240208133358-b46fc268ba2c
Repository: https://github.com/diptanw/go-toolkit.git
Documentation: pkg.go.dev

# Packages

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

# 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.

# Structs

Mux is a simple routes multiplexer.
Server is a struct that wraps an http transport listener.

# 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.