diff options
-rw-r--r-- | server/store/mongo.go | 1 |
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 { |