monitors_services

package
v0.0.0-...-e299d79 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorsService

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

func NewMonitorsService

func NewMonitorsService() *MonitorsService

func (*MonitorsService) Create

func (*MonitorsService) GetAll

func (s *MonitorsService) GetAll() ([]*monitors_model.Monitor, error)

func (*MonitorsService) GetDataByMetrics

func (s *MonitorsService) GetDataByMetrics(metrics []string, timePeriod int) ([]*monitors_model.MonitorDataResponse, error)

func (*MonitorsService) Push

func (s *MonitorsService) Push(id string, monitor *monitors_model.MonitorPushDTO, apiKey string) error

func (*MonitorsService) Register

Jump to

Keyboard shortcuts

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