Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvMongoDBPort = "MONGODB_PORT" EnvMongoDBReplset = "MONGODB_REPLSET" // clusterMonitor user EnvMongoDBClusterMonitorUser = "MONGODB_CLUSTER_MONITOR_USER" EnvMongoDBClusterMonitorPassword = "MONGODB_CLUSTER_MONITOR_PASSWORD" // mongodb ssl EnvMongoDBNetSSLEnabled = "MONGODB_NET_SSL_ENABLED" EnvMongoDBNetSSLInsecure = "MONGODB_NET_SSL_INSECURE" EnvMongoDBNetSSLPEMKeyFile = "MONGODB_NET_SSL_PEM_KEY_FILE" EnvMongoDBNetSSLCAFile = "MONGODB_NET_SSL_CA_FILE" )
View Source
const Author = "Percona LLC."
Author is the author used by kingpin
View Source
const (
Version = "0.5.0"
)
Variables ¶
View Source
var ( DefaultMongoDBHost = "localhost" DefaultMongoDBPort = "27017" DefaultMongoDBAuthDB = "admin" DefaultMongoDBTimeout = "5s" DefaultMongoDBTimeoutDuration = time.Duration(5) * time.Second )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.