Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Default ¶
type Default struct{}
Default represents a default implementation of SessionKeyGenerator
type SessionKeyGenerator ¶
type SessionKeyGenerator interface { // Generates a new cryptographically safe session key Generate() string }
SessionKeyGenerator defines the session key generator interface
func NewDefault ¶
func NewDefault() SessionKeyGenerator
NewDefault creates a new default session key generator instance
Click to show internal directories.
Click to hide internal directories.