Documentation ¶
Index ¶
Constants ¶
View Source
const ( CollectionNameUsers instance.MongoCollectionName = "users" CollectionNameVods instance.MongoCollectionName = "vods" CollectionNameChat instance.MongoCollectionName = "chat" )
View Source
const ( CollectionUsers instance.MongoCollectionName = "users" CollectionStreams instance.MongoCollectionName = "streams" )
Variables ¶
View Source
var (
ErrNoDocuments = mongo.ErrNoDocuments
)
Functions ¶
Types ¶
type IndexModel ¶
type IndexModel = mongo.IndexModel
type IndexRef ¶
type IndexRef struct { Collection instance.MongoCollectionName Index mongo.IndexModel }
type InsertOneModel ¶
type InsertOneModel = mongo.InsertOneModel
type SetupOptions ¶
type UpdateOneModel ¶
type UpdateOneModel = mongo.UpdateOneModel
type WriteModel ¶
type WriteModel = mongo.WriteModel
Click to show internal directories.
Click to hide internal directories.