Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPinging is an error returned when health check endpoint returns a non 200. ErrPinging = errors.New("druid: error fetching health info from druid") // ErrCancelled is an error returned when we receive a cancellation event from a context object ErrCancelled = errors.New("druid: cancellation received") // ErrRequestForm is an error returned when failing to form a request ErrRequestForm = errors.New("druid: error forming request") // ErrCreatingRequest is an error when creating a new request ErrCreatingRequest = errors.New("druid: error creating new request") // ErrMakingRequest is an error whilst making a request to the druid server itself ErrMakingRequest = errors.New("druid: error making request to druid server") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User string Passwd string BrokerAddr string PingEndpoint string QueryEndpoint string // DateFormat for the date field, i.e iso, auto etc DateFormat string // DateField field to use as the date field DateField string // UseSSL determines whether to use SSL or not UseSSL bool }
Config represents a struct to a druid database
Click to show internal directories.
Click to hide internal directories.