Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = LeveledLog{}
Create leveled logging
View Source
var ValidKeyHex20 = regexp.MustCompile(`^[a-f0-9]{20}$`)
View Source
var ValidKeyHex32 = regexp.MustCompile(`^[a-f0-9]{32}$`)
View Source
var ValidKeyHex64 = regexp.MustCompile(`^[a-f0-9]{64}$`)
View Source
var ValidTOTP = regexp.MustCompile(`^[0-9]{6}$`)
RegExes for input validation
Functions ¶
Types ¶
type LeveledLog ¶
type LeveledLog struct { Logger *log.Logger LevelFilter *logutils.LevelFilter }
gotenable models for global settings
type Request ¶
func RequestDefaults ¶
func RequestDefaults() Request
RequestDefaults sets default values on new Request objects
Click to show internal directories.
Click to hide internal directories.