ss

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAuth

func BasicAuth(next http.HandlerFunc, authToken, cookieName, user string, sessionExpirationSeconds int, dynamicAuth interface{}) http.HandlerFunc

BasicAuth handler func that performs basic auth

func DynamicAuth

func DynamicAuth() string

DynamicAuth this should be used to return some rotating piece of data i.e. totp

func ReverseNumber

func ReverseNumber(num int) string

ReverseNumber take a number and reverse it keeping zero and return as string

Types

This section is empty.

Jump to

Keyboard shortcuts

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