# Functions
EnvOrDefault fetches an environment variable value, or if not set returns the fallback value.
EnvOrDefaultBool fetches a boolean environment variable value, or if not set returns the fallback value.
EnvOrDefaultInt fetches an int environment variable value, or if not set returns the fallback value.
EnvOrDefaultInt64 fetches an int64 environment variable value, or if not set returns the fallback value.
NewIntervalURLMap creates a new IntervalMap from a map of interval endpoint => url.
ParseRawHostnameToHeaderValueMap attempts to parse mappings of hostname to corresponding header value.
ParseRawProxyBackendHostURLMap attempts to parse mappings of hostname to proxy for and the backend servers to proxy the request to, returning the mapping and error (if any).
ParseRawShardRoutingBackendHostURLMap attempts to parse backend host URL mapping for shards.
ReadConfig attempts to parse service config from environment values the returned config may be invalid and should be validated via the `Validate` function of the Config package before use.
Validate validates the provided config returning a list of errors that can be unwrapped with `errors.Unwrap` or nil if the config is valid.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
60 seconds / minute * 60 minutes = 1 hour.
No description provided by the author
No description provided by the author
24 hours.
24 hours.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
60 seconds * 60 minutes * 24 hours = 1 day.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
seperator for a single entry mapping the <host to proxy for> to <backend server for host>.
No description provided by the author
seperator for.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
restrict to max 1 month to guarantee constraint that metric partitioning routine never needs to create partitions spanning more than 2 calendar months.
No description provided by the author
# Structs
No description provided by the author
IntervalURLMap stores URLs associated with a range of numbers.