Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int Consul ConsulConfig LogLevel string EnableHealthCheckCatalogService bool WatchedServices []WatchedServiceConfig HTTPHeaderRateLimit HTTPHeaderRateLimitConfig }
type ConsulConfig ¶
type StatsDConfig ¶
type StatsDConfig struct {
// contains filtered or unexported fields
}
func NewStatsDConfig ¶
func NewStatsDConfig(appName string, flushPeriodInSeconds, port int, enabled bool) *StatsDConfig
func (*StatsDConfig) AppName ¶
func (sdc *StatsDConfig) AppName() string
func (*StatsDConfig) Enabled ¶
func (sdc *StatsDConfig) Enabled() bool
func (*StatsDConfig) FlushPeriodInSeconds ¶
func (sdc *StatsDConfig) FlushPeriodInSeconds() int
func (*StatsDConfig) Port ¶
func (sdc *StatsDConfig) Port() int
type WatchedServiceConfig ¶
Click to show internal directories.
Click to hide internal directories.