mgohacks

package module
v0.0.0-...-f9c291f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2015 License: BSD-2-Clause Imports: 6 Imported by: 2

README

mgohacks

hacks for mgo

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL