Documentation ¶
Overview ¶
Package ticket generates and verifies authentication tickets
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrExpired = errors.New("expired") ErrInvalidIP = errors.New("invalid IP") )
Functions ¶
func Init ¶
func Init()
Init (re)initializes the session that tickets are based on. Init is called automatically on package initialization but may be called manually to invalidate all currently granted tickets.
Types ¶
Click to show internal directories.
Click to hide internal directories.