Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// QueuerHTTPClient is the client to be used with the default Queuer module.
// If no client is provided, the default client will be used.
QueuerHTTPClient *http.Client
// DigesterHTTPClient is the client to be used with the default Digester module.
// If no client is provided, the default client will be used.
DigesterHTTPClient *http.Client
// Middleware is a list of service middleware to install on the router.
Middleware []func(http.Handler) http.Handler
// Queuer is responsible for queuing graphing jobs which will eventually be consumed
// by the Produce handler. The built in Queuer POSTs to an HTTP endpoint.
Queuer types.Queuer
// Storage provides a mechanism to hook into a persistent store for the graphs. The
// built in Storage uses S3 as the persistent storage for graph content.
Storage types.Storage
// Marker is responsible for marking which graph jobs are inprogress. The built in
// Marker uses S3 to hold this state.
Marker types.Marker
// Digester is responsible for creating a digest of VPC logs for a given time range.
// The built in digester calls out to a digester service.
Digester types.Digester
}
Service is a container for all of the pluggable modules used by the service
Directories
¶
| Path | Synopsis |
|---|---|
|
Package handlers is a container of all HTTP API handlers which should be in the form of either http.HandlerFunc or http.Handler.
|
Package handlers is a container of all HTTP API handlers which should be in the form of either http.HandlerFunc or http.Handler. |
|
v1
Package v1 contains all handlers used to service the version 1.X.X API.
|
Package v1 contains all handlers used to service the version 1.X.X API. |
|
Package logs is a container of all structure logs that the service will emit.
|
Package logs is a container of all structure logs that the service will emit. |
|
Package types is a container of all of the domain types and interfaces that are used across multiple packages within the service.
|
Package types is a container of all of the domain types and interfaces that are used across multiple packages within the service. |
Click to show internal directories.
Click to hide internal directories.