business

package
v0.0.0-...-31e18c8 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Run() error
}

type Login

type Login interface {
	Run(cd LoginData) error
}

func NewLogin

func NewLogin(p LoginPresenter, d LoginDao, l LoginLogger) Login

type LoginController

type LoginController Controller

type LoginDao

type LoginDao interface {
	Authorize(auth domain.Auth) error
}

type LoginData

type LoginData struct {
	Name         domain.Name
	SecurityCode domain.SecurityCode
}

type LoginLogger

type LoginLogger interface {
	Logged(auth domain.Auth)
}

type LoginPresenter

type LoginPresenter interface {
	ShowAuthFailed() error
	Show(cert domain.Cert) error
}

Jump to

Keyboard shortcuts

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