views

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseView

type BaseView struct {
	Displayer Displayer
}

func NewBaseView

func NewBaseView(displayer Displayer) BaseView

func (BaseView) ShowErrorView

func (b BaseView) ShowErrorView(err *presenters.ViewableError)

func (BaseView) ShowErrorViewWithStartingNewLine

func (b BaseView) ShowErrorViewWithStartingNewLine(err *presenters.ViewableError)

func (BaseView) ShowSuccessView

func (b BaseView) ShowSuccessView(successText, subtext string)

func (BaseView) ShowWarningView

func (b BaseView) ShowWarningView(warningText, subtext string)

type Displayer

type Displayer interface {
	Display(w io.Writer, format string, args ...interface{})
}

type LoginView

type LoginView struct {
	BaseView
}

func NewLoginView

func NewLoginView(baseView BaseView) LoginView

func (LoginView) View

func (l LoginView) View(data presenters.LoginViewData)

type RemoveView

type RemoveView struct {
	BaseView
}

func NewRemoveView

func NewRemoveView(baseView BaseView) RemoveView

func (RemoveView) View

func (r RemoveView) View(data presenters.RemoveViewData)

type StartView

type StartView struct {
	BaseView
}

func NewStartView

func NewStartView(baseView BaseView) StartView

func (StartView) View

func (s StartView) View(data presenters.StartViewData)

type StopView

type StopView struct {
	BaseView
}

func NewStopView

func NewStopView(baseView BaseView) StopView

func (StopView) View

func (s StopView) View(data presenters.StopViewData)

type UninstallView

type UninstallView struct {
	BaseView
}

func NewUninstallView

func NewUninstallView(baseView BaseView) UninstallView

func (UninstallView) View

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL