Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Application = bson.M{ "name": "application", "index": []mongo.IndexModel{ { bson.D{ {"name", 1}, }, options.Index().SetUnique(true), }, { bson.D{ {"path", 1}, }, options.Index().SetUnique(true), }, { bson.D{ {"enable", 1}, }, options.Index(), }, { bson.D{ {"order", 1}, }, options.Index(), }, }, } )
View Source
var ( Role = bson.M{ "name": "role", "index": []mongo.IndexModel{ { bson.D{ {"name", 1}, }, options.Index().SetUnique(true), }, { bson.D{ {"users", 1}, }, options.Index(), }, { bson.D{ {"right.scope", 1}, }, options.Index(), }, { bson.D{ {"enable", 1}, {"delete", 1}, }, options.Index(), }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.