Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRoundEndTopicPath ¶
func GetRoundEndTopicPath() string
func InitClient ¶
func InitClient()
Types ¶
type ActionType ¶
type ActionType int
const ( SET_RGB ActionType = iota ROLL ROTATE )
func (ActionType) IsType ¶
func (at ActionType) IsType(actionType ActionType) bool
func (*ActionType) MarshalJSON ¶
func (at *ActionType) MarshalJSON() ([]byte, error)
func (ActionType) String ¶
func (at ActionType) String() string
func (*ActionType) UnmarshalJSON ¶
func (at *ActionType) UnmarshalJSON(b []byte) error
type ActionTypeTestable ¶
type ActionTypeTestable interface {
IsType(actionType ActionType) bool
}
type QualityOfService ¶
type QualityOfService byte
const ( AT_MOST_ONCE QualityOfService = iota AT_LEAST_ONCE EXACTLY_ONCE )
type SpheroAction ¶
type SpheroAction struct { ActionType ActionType `json:"ActionType"` Config map[string]uint16 `json:"Config,omitempty"` }
func (SpheroAction) IsType ¶
func (action SpheroAction) IsType(actionType ActionType) bool
func (SpheroAction) String ¶
func (action SpheroAction) String() string
Click to show internal directories.
Click to hide internal directories.