Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvRedisURL = "REDIS_URL" EnvRedisHost = "REDIS_HOST" EnvRedisPort = "REDIS_PORT" EnvRedisDB = "SNAPPASS_REDIS_DB" EnvRedisPrefix = "REDIS_PREFIX" EnvStaticURL = "STATIC_URL" EnvURLPrefix = "URL_PREFIX" EnvHostOverride = "HOST_OVERRIDE" EnvNoSSL = "NO_SSL" // EnvListenString is the server address on which to listen., // e.g. 192.168.10.10:5000, :1234, etc. // The python implementation uses flask which has other environment variables that we // will not implement. EnvListenString = "SNAPPASS_LISTEN_ADDRESS" )
Variables ¶
This section is empty.
Functions ¶
func RedisConnectionOptions ¶
RedisConnectionOptions returns environment-provided host, port, and db values, or defaults if those are unset.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.