package
1.13.7
Repository: https://github.com/starudream/go-lib.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

BasicAuth returns a Basic HTTP Authorization middleware.
BasicAuthForRealm returns a Basic HTTP Authorization middleware.
Dir returns a http.FileSystem that can be used by http.FileServer().
New returns a new blank Engine instance without any middleware attached.

# Constants

AuthUserKey is the cookie name for user credential in basic auth.

# Variables

No description provided by the author

# Structs

Context is the most important part of gin.
Engine is the framework's instance, it contains the muxer, middleware and configuration settings.
Param is a single URL parameter, consisting of a key and a value.
RouteInfo represents a request route's specification which contains method and path and its handler.
RouterGroup is used internally to configure router, a RouterGroup is associated with a prefix and an array of handlers (middleware).

# Interfaces

IRouter defines all router handle interface includes single and group router.
IRoutes defines all router handle interface.
No description provided by the author

# Type aliases

Accounts defines a key/value for user/pass list of authorized logins.
HandlerFunc defines the handler used by gin middleware as return value.
HandlersChain defines a HandlerFunc slice.
Params is a Param-slice, as returned by the router.
RoutesInfo defines a RouteInfo slice.