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 ¶
ReverseNumber take a number and reverse it keeping zero and return as string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.