Documentation ¶ Index ¶ func VerifyAdmin(ctx *fasthttp.RequestCtx, host string) (int, error) type Auth func Init(host string, isDebug bool) *Auth func (a *Auth) IsAdmin(next fasthttp.RequestHandler) fasthttp.RequestHandler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func VerifyAdmin ¶ func VerifyAdmin(ctx *fasthttp.RequestCtx, host string) (int, error) Types ¶ type Auth ¶ type Auth struct { // contains filtered or unexported fields } func Init ¶ func Init(host string, isDebug bool) *Auth func (*Auth) IsAdmin ¶ func (a *Auth) IsAdmin(next fasthttp.RequestHandler) fasthttp.RequestHandler Source Files ¶ View all Source files auth.go Click to show internal directories. Click to hide internal directories.