Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
DB *db.DB
Collector *collector.Collector
Exporter *export.Builder
Targets []config.TargetConfig
}
Deps holds handler dependencies.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the Arq Signals HTTP API server.
func NewServer ¶
func NewServer(addr string, readTimeout, writeTimeout time.Duration, apiToken string, deps *Deps) *Server
NewServer creates a new API Server with signals-only endpoints.
Click to show internal directories.
Click to hide internal directories.