Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStore ¶
func NewStore(stateChanged func()) (PutStateFunc, GetStateFunc)
NewStore returns a put and get state functions given the stateChanged callback provided
Types ¶
type CardState ¶
type CardState interface {
CardName(id int) string
CardLabelsStr(id int) string
Description(id int) string
}
CardState describes the interface required for the selected card component
type HeaderState ¶
HeaderState describes the interface required for the header component
type ListsState ¶
type ListsState interface {
ListsLen() int
SingleListState
}
ListsState describes the interface required for the ListContainer component
type PutStateFunc ¶
type PutStateFunc func(state State)
PutStateFunc takes a gui.State interface as input
type SingleListState ¶
SingleListState describes the interface required for the list component
type ViewState ¶
type ViewState interface {
HeaderState
ListsState
}
ViewState describes the interface required for the view component
Click to show internal directories.
Click to hide internal directories.