Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultReceiverPort point to a default port of receiver component, and is // unique so that components can be easily run on localhost for easy debugging DefaultReceiverPort = 22111 // DefaultForwarderPort point to a default port of forwarder component DefaultForwarderPort = 22110 )
Variables ¶
View Source
var Instance = defaultValues()
Instance holds configuration values
View Source
var Log = newLogger()
Log is a default logger for wathola
Functions ¶
Types ¶
type Config ¶
type Config struct { Sender SenderConfig Forwarder ForwarderConfig Receiver ReceiverConfig Readiness ReadinessConfig LogLevel zapcore.Level }
Config hold complete configuration
type ForwarderConfig ¶
ForwarderConfig holds configuration for forwarder
type ReadinessConfig ¶
ReadinessConfig holds a readiness configuration
type ReceiverConfig ¶
type ReceiverConfig struct { Teardown ReceiverTeardownConfig Progress ReceiverProgressConfig Port int }
ReceiverConfig hold configuration for receiver
type ReceiverProgressConfig ¶
ReceiverProgressConfig holds config receiver progress reporting
type ReceiverTeardownConfig ¶
ReceiverTeardownConfig holds config receiver teardown
Click to show internal directories.
Click to hide internal directories.