Thanks to visit codestin.com
Credit goes to pkg.go.dev

auth

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthCheck

type AuthCheck interface {
	Verify(code string) (bool, error)
}

func NewBasic

func NewBasic(code string) AuthCheck

func NewTOTP

func NewTOTP(secret string) AuthCheck

Jump to

Keyboard shortcuts

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