Versions in this module Expand all Collapse all v2 v2.0.1 Jun 6, 2022 v2.0.0 Jun 5, 2022 Changes in this version + const ExpiresAt + const Username + var Config = &ConfigType + var Logger gutils.LoggerItf + type Audit struct + func NewAudit() *Audit + func (a *Audit) Entrypoint(c *chaining.Chain) (interface{}, error) + func (a *Audit) PushAuditRecord(data map[string]interface{}) + type Auth struct + func NewAuth(plugins ...AuthPlugin) *Auth + func (a *Auth) Entrypoint(c *chaining.Chain) (interface{}, error) + type AuthPlugin interface + type AwsAuthPlugin struct + func NewAwsAuthPlugin() *AwsAuthPlugin + type Backend struct + func NewBackend() *Backend + func (b *Backend) Entrypoint(c *chaining.Chain) (ret interface{}, err error) + func (b *Backend) RequestBackend(ctx *fasthttp.RequestCtx, url string) (err error) + type BasicAuthPlugin struct + func NewBasicAuthPlugin() *BasicAuthPlugin + type ConfigType struct + Backend string + JWTSecret string + Listen string + Runtime runtimeConfig + Users []configUser + UsersMap map[string]configUser + func (c *ConfigType) Init() *ConfigType + type Controllor struct + func NewController(middlewares ...Middleware) *Controllor + func (c *Controllor) Run(ctx context.Context) (err error) + func (co *Controllor) MiddlewareChain(c *chaining.Chain) *chaining.Chain + type CtxMeta struct + Ctx *fasthttp.RequestCtx + Meta map[string]interface{} + type JwtAuthPlugin struct + func NewJwtAuthPlugin(secret string) *JwtAuthPlugin + type Middleware interface + Entrypoint func(c *chaining.Chain) (interface{}, error) Other modules containing this package github.com/Laisky/go-httpguard