Documentation
¶
Overview ¶
Package temp implements temporary storage interfaces that will be valid only during runtime and will evaporate after shutdown of program.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContextDone = errors.New("temp: context is done, performed graceful shutdown")
Functions ¶
This section is empty.
Types ¶
type OnlineUsers ¶
type OnlineUsers struct {
// contains filtered or unexported fields
}
func NewOnlineUsers ¶
func NewOnlineUsers() *OnlineUsers
type StatusTx ¶
type StatusTx struct {
// contains filtered or unexported fields
}
StatusTx implements storage.StatusTx interface for temporary in memory storage.
func NewStatusTx ¶
func NewStatusTx() *StatusTx
NewStatusTx is the only one safe constructor for StatusTx.
Click to show internal directories.
Click to hide internal directories.