auth

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL