Documentation
¶
Index ¶
Constants ¶
View Source
const ( CollectionNameUsers instance.CollectionName = "users" CollectionNameMessages instance.CollectionName = "messages" CollectionNameTwitchRoles instance.CollectionName = "twitch_roles" CollectionNameStreams instance.CollectionName = "streams" CollectionNameCountDocuments instance.CollectionName = "count_documents" )
Variables ¶
View Source
var ErrNoDocuments = mongo.ErrNoDocuments
Functions ¶
Types ¶
type IndexModel ¶
type IndexModel = mongo.IndexModel
type InsertOneModel ¶
type InsertOneModel = mongo.InsertOneModel
type MongoInst ¶
type MongoInst struct {
// contains filtered or unexported fields
}
func (*MongoInst) Collection ¶
func (i *MongoInst) Collection(name instance.CollectionName) *mongo.Collection
func (*MongoInst) RawDatabase ¶
type SetupOptions ¶
type UpdateOneModel ¶
type UpdateOneModel = mongo.UpdateOneModel
type WriteModel ¶
type WriteModel = mongo.WriteModel
Click to show internal directories.
Click to hide internal directories.