Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Log = bson.M{ "name": "log", "index": []mongo.IndexModel{ { bson.D{ {"type", 1}, }, options.Index(), }, { bson.D{ {"user", 1}, }, options.Index(), }, { bson.D{ {"method", 1}, }, options.Index(), }, { bson.D{ {"path", 1}, }, options.Index(), }, { bson.D{ {"delete_time", 1}, }, options.Index().SetExpireAfterSeconds(1), }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.