Documentation ¶
Index ¶
- Constants
- type MongoConnectionSettings
- type ReposClient
- 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)
Constants ¶
View Source
const DOMAIN string = "46bf3452-28e7-482c-9bbf-df053873b021"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoConnectionSettings ¶
type ReposClient ¶
type ReposClient struct{}
func (ReposClient) CreateSession ¶
func (c ReposClient) CreateSession(authInfo MongoConnectionSettings) (*mgo.Session, error)
func (ReposClient) EnsureSimpleIndex ¶
func (c ReposClient) EnsureSimpleIndex(collection *mgo.Collection, key string, name string, isUnique bool) error
func (ReposClient) InsertCard ¶
func (c ReposClient) InsertCard(db *mgo.Database, collectionName string, cards map[string]models.GwentCard)
func (ReposClient) InsertGenericCollection ¶
func (c ReposClient) InsertGenericCollection(db *mgo.Database, collectionName string, names map[string]struct{})
func (ReposClient) InsertVariation ¶
func (c ReposClient) InsertVariation(db *mgo.Database, collectionName string, cards map[string]models.GwentCard)
Click to show internal directories.
Click to hide internal directories.