Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnv ¶
GetEnv looks up the given key from the environment, returning its value if it exists, and otherwise returning the given fallback value.
func GetEnvFloat64 ¶
GetEnvFloat64 looks up the given key from the environment and expects a float64, returning the float64 value if it exists, and otherwise returning the given fallback value.
func GetEnvInt ¶
GetEnvInt looks up the given key from the environment and expects an integer, returning the integer value if it exists, and otherwise returning the given fallback value.
func GetEnvUint ¶
GetEnvUint looks up the given key from the environment and expects an unsigned integer, returning the integer value if it exists, and otherwise returning the given fallback value.
Types ¶
type BloomFilter ¶
BloomFilter config.
type Config ¶
type Config struct { Domain string Redis Redis BloomFilter BloomFilter }
Config is all config struct.