Categorygithub.com/linxlib/fw
modulepackage
0.6.1
Repository: https://github.com/linxlib/fw.git
Documentation: pkg.go.dev

# README

fw

# 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
No description provided by the author

# Functions

No description provided by the author
EqualFold tests ascii strings or bytes for equality case-insensitively.
No description provided by the author
GetMIME returns the content-type of a file extension.
GetReqHeader returns the HTTP request header specified by filed.
No description provided by the author
No description provided by the author
No description provided by the author
NewMiddleware creates a new Middleware instance.
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
No description provided by the author
No description provided by the author
StatusMessage returns the correct message for the provided HTTP statuscode.
No description provided by the author
Trim is the equivalent of strings/bytes.Trim.
TrimLeft is the equivalent of strings/bytes.TrimLeft.
TrimRight is the equivalent of strings/bytes.TrimRight.
UUID generates an universally unique identifier (UUID).
UUIDv4 returns a Random (Version 4) UUID.

# Constants

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
No description provided by the author

# Structs

No description provided by the author
Entry
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
MiddlewareContainer stores middlewares global middlewares will be stored with its Name as key.
MiddlewareContext represents the context in which a middleware is executed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RouteItem is a struct that holds information about a route a Middleware can return a []*RouteItem which will be registered to server.
No description provided by the author
No description provided by the author

# Interfaces

ConfigMapper is the interface for config mapper which can make a struct able to load configuration.
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
No description provided by the author
No description provided by the author
IController is the interface for controller a controller which implements this interface will have an Init method to provide something (e.g.
IControllerConfig is the interface for controller a controller which implements this interface will have an InitConfig method to load configuration.
IInitOnce is an interface that will be called only once.
IMiddleware interface of middleware.
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
No description provided by the author
No description provided by the author
IService is the interface for service a service which implements this interface will have an Init method to provide something (e.g.
IServiceConfig is the interface for service a service which implements this interface will have an InitConfig method to load configuration.
ServiceMapper is the interface for service mapper do some initializations for service and then inject something into the container.

# Type aliases

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
No description provided by the author
No description provided by the author