web

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListenAddr = "0.0.0.0:8080"
View Source
var QrIssuer = "radotp"

Functions

func CheckWebAdminPass

func CheckWebAdminPass(username string, pssword string) bool

func MustAuth

func MustAuth(handler func(w http.ResponseWriter, r *http.Request)) *authHandler

func Start

func Start()

Types

type WebAdminUserPass

type WebAdminUserPass struct {
	User string
	Pass string
}

Jump to

Keyboard shortcuts

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