views

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 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 ClosePortView

type ClosePortView struct {
	BaseView
}

func NewClosePortView

func NewClosePortView(baseView BaseView) ClosePortView

func (ClosePortView) View

type Displayer

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

type EditView

type EditView struct {
	BaseView
}

func NewEditView

func NewEditView(baseView BaseView) EditView

func (EditView) View

func (e EditView) View(data presenters.EditViewData)

type InitView

type InitView struct {
	BaseView
}

func NewInitView

func NewInitView(baseView BaseView) InitView

func (InitView) View

func (i InitView) View(data presenters.InitViewData)

type LoginView

type LoginView struct {
	BaseView
}

func NewLoginView

func NewLoginView(baseView BaseView) LoginView

func (LoginView) View

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

type OpenPortView

type OpenPortView struct {
	BaseView
}

func NewOpenPortView

func NewOpenPortView(baseView BaseView) OpenPortView

func (OpenPortView) View

type RemoveView

type RemoveView struct {
	BaseView
}

func NewRemoveView

func NewRemoveView(baseView BaseView) RemoveView

func (RemoveView) View

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

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