Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PortFlag return port which will be specified for workload services as endpoints. PortFlag = conf.NewIntFlag("redis_port", "Port of Redis to listen on. (--port)", defaultPort) // IPFlag return ip address of interface thath Redis will be listening on. IPFlag = conf.NewStringFlag("redis_listening_address", "Ip address of interface that Redis will be listening on.", defaultListenIP) // ClusterFlag is set when cluster mode is enabled. ClusterFlag = conf.NewBoolFlag("redis_cluster_mode", "Cluster mode parameter.", defaultClusterMode) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PathToBinary string Port int IP string MaxMemory string ClusterMode bool ProtectedMode bool Timeout int Daemonize bool Sudo bool Isolate bool }
Config is a config for the Redis data caching application.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig is a contructor for Config with default parameters.
Click to show internal directories.
Click to hide internal directories.