Documentation ¶
Index ¶
- type MonitorService
- func (service *MonitorService) Add(monitor models.Monitor)
- func (monitor *MonitorService) Equal(oldMonitor models.Monitor, newMonitor models.Monitor) bool
- func (service *MonitorService) GetAll() (monitors []models.Monitor)
- func (service *MonitorService) GetByName(name string) (monitor *models.Monitor, err error)
- func (service *MonitorService) Remove(monitor models.Monitor)
- func (service *MonitorService) Setup(provider config.Provider)
- func (service *MonitorService) Update(monitor models.Monitor)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MonitorService ¶
type MonitorService struct {
// contains filtered or unexported fields
}
func (*MonitorService) Add ¶
func (service *MonitorService) Add(monitor models.Monitor)
func (*MonitorService) GetAll ¶
func (service *MonitorService) GetAll() (monitors []models.Monitor)
func (*MonitorService) GetByName ¶
func (service *MonitorService) GetByName(name string) (monitor *models.Monitor, err error)
func (*MonitorService) Remove ¶
func (service *MonitorService) Remove(monitor models.Monitor)
func (*MonitorService) Setup ¶
func (service *MonitorService) Setup(provider config.Provider)
func (*MonitorService) Update ¶
func (service *MonitorService) Update(monitor models.Monitor)
Click to show internal directories.
Click to hide internal directories.