Documentation
¶
Index ¶
Constants ¶
View Source
const ( CollectionNameRedeemRewards instance.CollectionName = "redeem_rewards" CollectionNameWebhooks instance.CollectionName = "webhooks" )
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.