Documentation
¶
Index ¶
- type ActiveWorker
- type CreateJobRequest
- type Job
- type ListActiveWorkersResponse
- type ListQueueJobsResponse
- type ListQueueResponse
- type Logger
- type MetricValue
- type MetricsQueryParam
- type MetricsRange
- type QueueInfo
- type QueuesConfig
- type Server
- type ServerOptions
- type TogglePendingQueueStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveWorker ¶
type CreateJobRequest ¶
type CreateJobRequest struct {
Args interface{} `json:"args"`
}
type Job ¶
type Job struct { ID string `json:"id"` QueueName string `json:"queueName"` Args interface{} `json:"args"` CreatedAt time.Time `json:"createdAt"` StartedAt time.Time `json:"startedAt"` UpdatedAt time.Time `json:"updatedAt"` Attempts int `json:"attempts"` FailureReason string `json:"failureReason"` Status string `json:"status"` ProcessedBy string `json:"processedBy"` }
type ListActiveWorkersResponse ¶
type ListActiveWorkersResponse struct {
ActiveWorkers []ActiveWorker `json:"activeWorkers"`
}
type ListQueueJobsResponse ¶
type ListQueueResponse ¶
type ListQueueResponse struct {
Queues []QueueInfo `json:"queues"`
}
type MetricValue ¶
type MetricsQueryParam ¶
type MetricsRange ¶
type MetricsRange struct { Metric struct { Name string `json:"name"` Labels map[string]string `json:"labels"` } `json:"metric"` Values []MetricValue `json:"values"` }
type QueuesConfig ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opts *ServerOptions) *Server
type ServerOptions ¶
Click to show internal directories.
Click to hide internal directories.