interfaces

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApcProvider

type ApcProvider interface {
	Shutdown()
}

type Configuration

type Configuration interface {
	VerifyHostConnection(h *entities.ApcHost) error
	Hosts() []*entities.ApcHost
	HostKeys() []string
	HostByName(hostName string) *entities.ApcHost
	AddHost(host *entities.ApcHost)
	Apply(h *entities.ApcHost) Configuration
	Save()
	Remove(hostName string)
	ResetConfig()
	Shutdown()
}

type GraphPointSmoothing added in v0.9.3

type GraphPointSmoothing interface {
	AddValue(value float64) float64
	SeriesName() string
	IsNil() bool
	String() string
}

type Provider

type Provider interface {
	Shutdown()
}

type Service

type Service interface {
	MessageChannelByName(hostName string) entities.ChannelTuple
	ParseStatus(status []string) map[string]string
	Shutdown()
}

type ViewProvider

type ViewProvider interface {
	ShowPrefsPage()
	ShowMainPage()
	Shutdown()
}

Jump to

Keyboard shortcuts

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