auth

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const UserKey = "auth_user"

Variables

This section is empty.

Functions

func BasicRealm

func BasicRealm(accounts Accounts, realm string) znet.Handler

func New

func New(accounts Accounts) znet.Handler

Types

type Accounts

type Accounts map[string]string

Jump to

Keyboard shortcuts

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