aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-08-01 15:06:14 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-08-01 15:06:14 +0100
commitda91a495d699aa67a0d81b84baadca5e194f8e44 (patch)
tree59a24f2061ecd0776a6600fae11f30e8e93fb93d
parent04aeda21e0ad2f7e8dd2bad3328e6ce0ba38f6a9 (diff)
fix build
-rw-r--r--server/store/mongo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/store/mongo.go b/server/store/mongo.go
index 752d405..9773da7 100644
--- a/server/store/mongo.go
+++ b/server/store/mongo.go
@@ -32,6 +32,7 @@ func parseMongoConfig(config string) *mgo.DialInfo {
return d
}
+// NewMongoStore returns a MongoDB CertStorer.
func NewMongoStore(config string) (CertStorer, error) {
session, err := mgo.DialWithInfo(parseMongoConfig(config))
if err != nil {