Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureTTLIndex ¶
func EnsureTTLIndex(c *mgo.Collection, index mgo.Index) error
EnsureTTLIndex mirrors mgo.EnsureIndex but always provides the "ExpireAfter" field (allowing it to bet set to 0). For internal simplicity this does not perform any index existence caching.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.