Documentation ¶
Index ¶
Constants ¶
View Source
const ( HLayout = "H" VLayout = "V" )
Layout
View Source
const ( LKind = "L" CKind = "C" )
Lane Kind
Variables ¶
View Source
var EmptyID = ID("")
EmptyID value
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { ID ID `json:"id"` BoardID ID `json:"board_id"` Type CommandType `json:"type"` Payload map[string]string `json:"payload"` }
Command type
type CommandType ¶
type CommandType int
CommandType type
const ( // UpdateCardCommand type 0 UpdateCardCommand CommandType = CommandType(iota) // RemoveCardCommand type 1 RemoveCardCommand // UpdateLaneCommand type 2 UpdateLaneCommand // RemoveLaneCommand type 3 RemoveLaneCommand // ExcludeChildCommand type 4 ExcludeChildCommand // AppendChildCommand type 5 AppendChildCommand // InsertBeforeCommand type 6 InsertBeforeCommand // InsertAfterCommand type 7 InsertAfterCommand // LayoutBoardCommand type 8 LayoutBoardCommand // 9 LayoutLaneCommand // 10 DescribeBoardCommand // 11 DescribeLaneCommand // 12 DescribeCardCommand // 13 UpdateBoardCommand // 14 StateBoardCommand )
type Notification ¶
type Notification struct { ID ID `json:"id"` BoardID ID `json:"board_id"` Type NotificationType `json:"type"` }
Notification type
func (Notification) IsEqual ¶
func (n Notification) IsEqual(notification Notification) bool
IsEqual notification
type NotificationType ¶
type NotificationType int
NotificationType type
const ( // RefreshCardNotification type RefreshCardNotification NotificationType = NotificationType(iota) // RefreshLaneNotification type RefreshLaneNotification // RefreshBoardNotification type RefreshBoardNotification // RemoveCardNotification type RemoveCardNotification // RemoveLaneNotification type RemoveLaneNotification // RemoveBoardNotification type RemoveBoardNotification // CreateCardNotification type CreateCardNotification // CreateLaneNotification type CreateLaneNotification // CreateBoardNotification type CreateBoardNotification )
Click to show internal directories.
Click to hide internal directories.