Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_DB_HOST = "127.0.0.1" DEFAULT_DB_PORT = 27017 DEFAULT_DB_NAME = "se_db" MEMORY_COLLECTION_NAME = "memory" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo struct { Opts *MongoOptions Session *mgo.Session ReConnecting bool // contains filtered or unexported fields }
func NewMongo ¶
func NewMongo(opts *MongoOptions) *Mongo
func (*Mongo) MemorySelectEventsFromKey ¶
func (*Mongo) MemorySelectOneEventFromKeyRandom ¶
Click to show internal directories.
Click to hide internal directories.