aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {