monitors

package
v1.0.59 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorService

type MonitorService interface {
	GetAll() []models.Monitor
	Add(m models.Monitor)
	Update(m models.Monitor)
	GetByName(name string) (*models.Monitor, error)
	Remove(m models.Monitor)
	Setup(p config.Provider)
}

type MonitorServiceProxy

type MonitorServiceProxy struct {
	// contains filtered or unexported fields
}

func CreateMonitorService

func CreateMonitorService(p *config.Provider) MonitorServiceProxy

func (*MonitorServiceProxy) Add

func (mp *MonitorServiceProxy) Add(m models.Monitor)

func (*MonitorServiceProxy) GetAll

func (mp *MonitorServiceProxy) GetAll() []models.Monitor

func (*MonitorServiceProxy) GetByName

func (mp *MonitorServiceProxy) GetByName(name string) (*models.Monitor, error)

func (*MonitorServiceProxy) OfType

func (*MonitorServiceProxy) Remove

func (mp *MonitorServiceProxy) Remove(m models.Monitor)

func (*MonitorServiceProxy) Setup

func (mp *MonitorServiceProxy) Setup(p config.Provider)

func (*MonitorServiceProxy) Update

func (mp *MonitorServiceProxy) Update(m models.Monitor)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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