Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultTokenValidSeconds = 60
)
Functions ¶
func DecodeToken ¶
func DecodeToken(t OPERALPHAToken) (string, bool, error)
Decode a token and return IP, valid, error
func GenerateToken ¶
Types ¶
type OPERALPHAToken ¶
type OPERALPHAToken string
Click to show internal directories.
Click to hide internal directories.