Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientStateChanged ¶
type ClientStateChanged struct {
Transition *StateTransition
}
type ErrDisconnected ¶
type ErrDisconnected struct{}
func (*ErrDisconnected) Error ¶
func (*ErrDisconnected) Error() string
type ErrFailure ¶
type ErrFailure struct {
Reason string
}
func (*ErrFailure) Error ¶
func (err *ErrFailure) Error() string
type ErrLogOnFailed ¶
type ErrLogOnFailed struct {
Reason string
}
func (*ErrLogOnFailed) Error ¶
func (err *ErrLogOnFailed) Error() string
type ErrLoggedOff ¶
type ErrLoggedOff struct {
Reason string
}
func (*ErrLoggedOff) Error ¶
func (err *ErrLoggedOff) Error() string
type ErrLostSession ¶
type ErrLostSession struct{}
func (*ErrLostSession) Error ¶
func (*ErrLostSession) Error() string
type ErrNoSession ¶
type Session ¶
type Session struct { State State LastTransition *StateTransition // contains filtered or unexported fields }
func (*Session) StateChange ¶
func (s *Session) StateChange(t *StateTransition)
type StateTransition ¶
func NewStateTransition ¶
func NewStateTransition(prev, next State) *StateTransition
Click to show internal directories.
Click to hide internal directories.