Versions in this module Expand all Collapse all v1 v1.1.4 Dec 12, 2015 Changes in this version + var ErrorNoSuchCommand = errors.New("No such command.") + func RegisterResponseCommand(id byte, cmdFactory CommandCreator) error + type Command interface + Marshal func(io.Writer) (int, error) + Unmarshal func([]byte) error + func CreateResponseCommand(id byte) (Command, error) + type CommandCreator func() Command + type SwitchAccount struct + ID *uuid.UUID + ValidUntil time.Time + func (this *SwitchAccount) Marshal(writer io.Writer) (int, error) + func (this *SwitchAccount) Unmarshal(data []byte) error