Documentation ¶
Index ¶
- type AllIncidents
- type AllIncidentsHandler
- type AllMonitors
- type AllMonitorsHandler
- type IncidentByID
- type IncidentByIdHandler
- type MonitorByID
- type MonitorByIdHandler
- type MonitorResponseTimeStats
- type MonitorResponseTimeStatsHandler
- type PaginatedResult
- type PaginationParams
- type ResponseTimeStat
- type ResponseTimeStatsOptions
- type UserByID
- type UserByIdHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllIncidents ¶
type AllIncidents struct { AccountID domain.ID Params PaginationParams }
type AllIncidentsHandler ¶
type AllIncidentsHandler struct {
// contains filtered or unexported fields
}
func NewAllIncidentsHandler ¶
func NewAllIncidentsHandler(incidentsFinder incidentsFinder) AllIncidentsHandler
func (AllIncidentsHandler) Execute ¶
func (h AllIncidentsHandler) Execute(ctx context.Context, q AllIncidents) (PaginatedResult[*monitor.Incident], error)
type AllMonitors ¶
type AllMonitors struct { AccountID domain.ID Params PaginationParams }
type AllMonitorsHandler ¶
type AllMonitorsHandler struct {
// contains filtered or unexported fields
}
func NewAllMonitorsHandler ¶
func NewAllMonitorsHandler(monitorsFinder monitorsFinder) AllMonitorsHandler
func (AllMonitorsHandler) Execute ¶
func (h AllMonitorsHandler) Execute(ctx context.Context, q AllMonitors) (PaginatedResult[*monitor.Monitor], error)
type IncidentByID ¶
type IncidentByIdHandler ¶
type IncidentByIdHandler struct {
// contains filtered or unexported fields
}
func NewIncidentByIdHandler ¶
func NewIncidentByIdHandler(incidentRepository monitor.IncidentRepository) IncidentByIdHandler
func (IncidentByIdHandler) Execute ¶
func (h IncidentByIdHandler) Execute(ctx context.Context, q IncidentByID) (*monitor.Incident, error)
type MonitorByID ¶
type MonitorByIdHandler ¶
type MonitorByIdHandler struct {
// contains filtered or unexported fields
}
func NewMonitorByIdHandler ¶
func NewMonitorByIdHandler(monitorRepository monitor.Repository) MonitorByIdHandler
func (MonitorByIdHandler) Execute ¶
func (h MonitorByIdHandler) Execute(ctx context.Context, q MonitorByID) (*monitor.Monitor, error)
type MonitorResponseTimeStatsHandler ¶
type MonitorResponseTimeStatsHandler struct {
// contains filtered or unexported fields
}
func NewMonitorResponseTimeStatsHandler ¶
func NewMonitorResponseTimeStatsHandler(responseTimeFinder responseTimeFinder) MonitorResponseTimeStatsHandler
func (MonitorResponseTimeStatsHandler) Execute ¶
func (h MonitorResponseTimeStatsHandler) Execute(ctx context.Context, q MonitorResponseTimeStats) ([]ResponseTimeStat, error)
type PaginatedResult ¶
type PaginationParams ¶
func NewPaginationParams ¶
func NewPaginationParams(page, limit *int) PaginationParams
type UserByIdHandler ¶
type UserByIdHandler struct {
// contains filtered or unexported fields
}
func NewUserByIdHandler ¶
func NewUserByIdHandler(userRepository account.UserRepository) UserByIdHandler
Click to show internal directories.
Click to hide internal directories.