context

package
v0.0.0-...-4cee36d Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkuser

func Checkuser(username string, users []string) bool

Types

type Context

type Context struct {
	Client        http.Client
	UserAgent     string
	Authorization string
	Allowlist     []string
	Blocklist     []string
	Allowlistset  bool
	Blocklistset  bool
}

func ParseConfig

func ParseConfig(file string) (Context, error)

Jump to

Keyboard shortcuts

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