service

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 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 AuthService

type AuthService interface {
	Service

	AuthRequest(*http.Request) error
	AuthLogin(api.InfoServiceResponse) (interface{}, error)
	AuthLogout() error
}

type CommandService added in v0.7.0

type CommandService interface {
	GetCommand() interface{}
	Description() string
}

type Manager

type Manager interface {
	Add(Service)
	Get(string) (Service, error)
	Services() []string
}

func NewDefaultManager

func NewDefaultManager() Manager

type Service

type Service interface {
	Type() string
	Version() string
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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