Documentation ¶
Index ¶
- type EditPresenter
- type EditViewer
- type ElevenViewableErrorBuilder
- type InitPresenter
- type InitViewer
- type LoginPresenter
- type LoginViewer
- type RemovePresenter
- type RemoveViewer
- type ServePresenter
- type ServeViewer
- type UninstallPresenter
- type UninstallViewer
- type UnservePresenter
- type UnserveViewer
- type ViewableErrorBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EditPresenter ¶
type EditPresenter struct {
// contains filtered or unexported fields
}
func NewEditPresenter ¶
func NewEditPresenter( viewableErrorBuilder ViewableErrorBuilder, viewer EditViewer, ) EditPresenter
func (EditPresenter) PresentToView ¶
func (e EditPresenter) PresentToView(response features.EditResponse)
type EditViewer ¶
type EditViewer interface {
View(views.EditViewData)
}
type ElevenViewableErrorBuilder ¶
type ElevenViewableErrorBuilder struct{}
func NewElevenViewableErrorBuilder ¶
func NewElevenViewableErrorBuilder() ElevenViewableErrorBuilder
func (ElevenViewableErrorBuilder) Build ¶
func (ElevenViewableErrorBuilder) Build(err error) (viewableError *views.ViewableError)
type InitPresenter ¶
type InitPresenter struct {
// contains filtered or unexported fields
}
func NewInitPresenter ¶
func NewInitPresenter( viewableErrorBuilder ViewableErrorBuilder, viewer InitViewer, ) InitPresenter
func (InitPresenter) PresentToView ¶
func (i InitPresenter) PresentToView(response features.InitResponse)
type InitViewer ¶
type InitViewer interface {
View(views.InitViewData)
}
type LoginPresenter ¶
type LoginPresenter struct {
// contains filtered or unexported fields
}
func NewLoginPresenter ¶
func NewLoginPresenter( viewableErrorBuilder ViewableErrorBuilder, viewer LoginViewer, ) LoginPresenter
func (LoginPresenter) PresentToView ¶
func (l LoginPresenter) PresentToView(response features.LoginResponse)
type LoginViewer ¶
type LoginViewer interface {
View(views.LoginViewData)
}
type RemovePresenter ¶
type RemovePresenter struct {
// contains filtered or unexported fields
}
func NewRemovePresenter ¶
func NewRemovePresenter( viewableErrorBuilder ViewableErrorBuilder, viewer RemoveViewer, ) RemovePresenter
func (RemovePresenter) PresentToView ¶
func (r RemovePresenter) PresentToView(response features.RemoveResponse)
type RemoveViewer ¶
type RemoveViewer interface {
View(views.RemoveViewData)
}
type ServePresenter ¶
type ServePresenter struct {
// contains filtered or unexported fields
}
func NewServePresenter ¶
func NewServePresenter( viewableErrorBuilder ViewableErrorBuilder, viewer ServeViewer, ) ServePresenter
func (ServePresenter) PresentToView ¶
func (s ServePresenter) PresentToView(response features.ServeResponse)
type ServeViewer ¶
type ServeViewer interface {
View(views.ServeViewData)
}
type UninstallPresenter ¶
type UninstallPresenter struct {
// contains filtered or unexported fields
}
func NewUninstallPresenter ¶
func NewUninstallPresenter( viewableErrorBuilder ViewableErrorBuilder, viewer UninstallViewer, ) UninstallPresenter
func (UninstallPresenter) PresentToView ¶
func (u UninstallPresenter) PresentToView(response features.UninstallResponse)
type UninstallViewer ¶
type UninstallViewer interface {
View(views.UninstallViewData)
}
type UnservePresenter ¶
type UnservePresenter struct {
// contains filtered or unexported fields
}
func NewUnservePresenter ¶
func NewUnservePresenter( viewableErrorBuilder ViewableErrorBuilder, viewer UnserveViewer, ) UnservePresenter
func (UnservePresenter) PresentToView ¶
func (u UnservePresenter) PresentToView(response features.UnserveResponse)
type UnserveViewer ¶
type UnserveViewer interface {
View(views.UnserveViewData)
}
type ViewableErrorBuilder ¶
type ViewableErrorBuilder interface {
Build(error) *views.ViewableError
}
Click to show internal directories.
Click to hide internal directories.