Documentation ¶
Index ¶
Constants ¶
View Source
const ( StateRunning = "running" StateStoped = "stoped" )
View Source
const ( StatusLogSuccess = "success" StatusLogError = "error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndicatorsRes ¶
type IndicatorsRes struct { TotalRequests Indicator `json:"total_requests"` ErrorRequests Indicator `json:"error_requests"` AverageLatency Indicator `json:"average_latency"` ErrorPercentage Indicator `json:"error_percentage"` Timestamp time.Time `json:"timestamp"` }
func Indicators ¶
func Indicators(ctx context.Context) (IndicatorsRes, error)
type LogsRes ¶
type RoutineRes ¶
type RoutineRes struct { Identifier string `json:"identifier"` Name string `json:"name"` Desc string `json:"desc"` State StateRoutine `json:"state"` CreatedAt string `json:"created_at"` LastRun string `json:"last_run"` Interval string `json:"interval"` Hours string `json:"hours"` Path string `json:"path"` }
type StateRoutine ¶
type StateRoutine string
Click to show internal directories.
Click to hide internal directories.