Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgState ¶
MsgState encapsulates a message state to be stored in the SessionStore for graceful recovery
type SessionStore ¶
type SessionStore interface { Set(path string, state *MsgState) error Get(path string) (*MsgState, error) }
SessionStore describes the interface for a store for transporter MsgStates to be used graceful recovery
func NewFilestore ¶
func NewFilestore(key, filename string) SessionStore
NewFilestore initializes a new SessionStore backed by a file TODO: fix race bug
Click to show internal directories.
Click to hide internal directories.