Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("invalid state")
Functions ¶
This section is empty.
Types ¶
type ClientIdentifier ¶
type State ¶
type State struct { Client ClientIdentifier IPAddr string IPPort string CommonName string Issued int64 }
func New ¶
func New(client ClientIdentifier, ipAddr, ipPort, commonName string) State
func NewWithEncodedToken ¶
Click to show internal directories.
Click to hide internal directories.