Documentation
¶
Index ¶
Constants ¶
View Source
const AuthModeBasic = "basic"
Variables ¶
View Source
var ( RegistrationMinBackoff = 1 * time.Second RegistrationMaxBackoff = 15 * time.Second )
Functions ¶
Types ¶
type IDStore ¶
IDStore is a thread-safe abstraction to load and store a stringified ID.
func NewInMemoryIDStore ¶
func NewInMemoryIDStore() IDStore
type IDStoreAdapter ¶
func (IDStoreAdapter) Get ¶
func (a IDStoreAdapter) Get() string
func (IDStoreAdapter) Set ¶
func (a IDStoreAdapter) Set(s string)
type StateError ¶
type StateError string
StateError is returned when the system encounters an unresolvable state transition error and should likely exit.
func (StateError) Error ¶
func (err StateError) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.