Versions in this module Expand all Collapse all v1 v1.0.1 Nov 1, 2017 v1.0.0 Oct 1, 2017 Changes in this version + const DOMAIN + type MongoConnectionSettings struct + AuthenticationDatabase string + Db string + Host []string + Password string + Timeout time.Duration + UseSSL bool + Username string + type ReposClient struct + func (c ReposClient) CreateSession(authInfo MongoConnectionSettings) (*mgo.Session, error) + func (c ReposClient) EnsureSimpleIndex(collection *mgo.Collection, key string, name string, isUnique bool) error + func (c ReposClient) InsertCard(db *mgo.Database, collectionName string, cards map[string]models.GwentCard) + func (c ReposClient) InsertGenericCollection(db *mgo.Database, collectionName string, names map[string]struct{}) + func (c ReposClient) InsertVariation(db *mgo.Database, collectionName string, cards map[string]models.GwentCard)