Documentation ¶
Index ¶
Constants ¶
View Source
const MAXRPS = 0
View Source
const SizePerThread = 10000000
to reduce size of thread, speed up
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoWorker ¶
type MongoWorker struct {
// contains filtered or unexported fields
}
func (*MongoWorker) GetMgoSession ¶
func (w *MongoWorker) GetMgoSession() *mgo.Session
func (*MongoWorker) InitWorker ¶
Click to show internal directories.
Click to hide internal directories.