Documentation ¶
Overview ¶
Package sessid provides a random cryptographically secure session identifier generator
Index ¶
Constants ¶
View Source
const MinIDLength = 16
MinIDLength defines the minimum identifier length
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator represents a non-thread-safe cryptographically secure session id generator
func NewGenerator ¶
NewGenerator creates a new session id generator instance
Click to show internal directories.
Click to hide internal directories.