Documentation
¶
Index ¶
- type IncID
- func NewIncID(db *mgo.Database) *IncID
- func NewIncIDWithDB(db *mgo.Database, cName string) *IncID
- func NewIncIDWithSession(session *mgo.Session, db *mgo.Database, cName string) *IncID
- func NewIncIDWithURL(url, dbName string) (*IncID, error)
- func NewIncIDWithURLC(url, dbName, cName string) (*IncID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IncID ¶
type IncID struct {
// contains filtered or unexported fields
}
IncID 增量ID
func NewIncIDWithDB ¶
NewIncIDWithDB 创建IncID的实例
func NewIncIDWithSession ¶
NewIncIDWithSession 创建IncID的实例
func NewIncIDWithURL ¶
NewIncIDWithURL 创建IncID的实例
func NewIncIDWithURLC ¶
NewIncIDWithURLC 创建IncID的实例
Click to show internal directories.
Click to hide internal directories.