Documentation ¶
Index ¶
- func LoadCaFrom(pemFile string) (*x509.CertPool, error)
- func LoadKeyPairFrom(pemFile string, privateKeyPemFile string) (tls.Certificate, error)
- func MongoSession(opts MongoSessionOpts) *mgo.Session
- func MongoSessionNodeType(session *mgo.Session) (string, error)
- func MongoSessionServerVersion(session *mgo.Session) (string, error)
- func RedactMongoUri(uri string) string
- type MongoSessionOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadKeyPairFrom ¶ added in v0.2.0
func LoadKeyPairFrom(pemFile string, privateKeyPemFile string) (tls.Certificate, error)
func MongoSession ¶
func MongoSession(opts MongoSessionOpts) *mgo.Session
func MongoSessionNodeType ¶
func RedactMongoUri ¶ added in v0.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.