Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationActiveViewChangedEvent ¶
type ApplicationActiveViewChangedEvent struct {
ActiveView ViewName
}
type ApplicationModel ¶ added in v0.22.0
type ApplicationModel struct {
// contains filtered or unexported fields
}
func NewApplicationModel ¶ added in v0.22.0
func NewApplicationModel(eventBus *mvc.EventBus) *ApplicationModel
func (*ApplicationModel) ActiveView ¶ added in v0.22.0
func (a *ApplicationModel) ActiveView() ViewName
func (*ApplicationModel) SetActiveView ¶ added in v0.22.0
func (a *ApplicationModel) SetActiveView(view ViewName)
type ErrorModel ¶ added in v0.22.0
type ErrorModel struct {
// contains filtered or unexported fields
}
func NewErrorModel ¶ added in v0.22.0
func NewErrorModel() *ErrorModel
func (*ErrorModel) Error ¶ added in v0.22.0
func (e *ErrorModel) Error() error
func (*ErrorModel) SetError ¶ added in v0.22.0
func (e *ErrorModel) SetError(err error)
type HomeModel ¶ added in v0.22.0
type HomeModel struct {
// contains filtered or unexported fields
}
func NewHomeModel ¶ added in v0.22.0
func NewHomeModel() *HomeModel
type LoadingModel ¶ added in v0.22.0
type LoadingModel struct {
// contains filtered or unexported fields
}
func NewLoadingModel ¶ added in v0.22.0
func NewLoadingModel() *LoadingModel
func (*LoadingModel) SetState ¶ added in v0.22.0
func (l *LoadingModel) SetState(state LoadingState)
func (*LoadingModel) State ¶ added in v0.22.0
func (l *LoadingModel) State() LoadingState
type LoadingPromise ¶ added in v0.22.0
type LoadingPromise interface { OnSuccess(func()) OnError(func()) }
func NewLoadingPromise ¶ added in v0.22.0
type LoadingState ¶ added in v0.22.0
type LoadingState struct { Promise LoadingPromise SuccessViewName ViewName ErrorViewName ViewName }
type PlayModel ¶ added in v0.22.0
type PlayModel struct {
// contains filtered or unexported fields
}
func NewPlayModel ¶ added in v0.22.0
func NewPlayModel() *PlayModel
Click to show internal directories.
Click to hide internal directories.