Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db interface { Connect() GetOneRecord(req *DbDMLRequest) bool GetManyRecords(req *DbDMLRequest) bool InsertRecord(req *DbDMLRequest) bool EditRecord(req *DbDMLRequest) bool }
type DbDMLRequest ¶
type DbDMLRequest interface {
// contains filtered or unexported methods
}
type MongoUserCollection ¶
type MongoUserCollection struct {
// contains filtered or unexported fields
}
var (
DbCon MongoUserCollection
)
func (*MongoUserCollection) Connect ¶
func (self *MongoUserCollection) Connect()
func (*MongoUserCollection) GetOneRecord ¶
func (self *MongoUserCollection) GetOneRecord(req DbDMLRequest, v interface{}) (interface{}, error)
func (*MongoUserCollection) InsertRecord ¶
func (self *MongoUserCollection) InsertRecord(req DbDMLRequest) error
Click to show internal directories.
Click to hide internal directories.