Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MgoChecker ¶
type MgoChecker struct {
// contains filtered or unexported fields
}
MgoChecker is the default chcker for resource in MySQL DB
func NewMgoChecker ¶
func NewMgoChecker(db *mgo.Database, collName string) MgoChecker
NewMgoChecker .
func (MgoChecker) CheckInt64 ¶
func (c MgoChecker) CheckInt64(id int64) error
CheckInt64 of MgoChecker .
type MySQLChecker ¶
type MySQLChecker struct {
// contains filtered or unexported fields
}
MySQLChecker is the default chcker for resource in MySQL DB
func NewMySQLChecker ¶
func NewMySQLChecker(db *gorm.DB, tblName string) MySQLChecker
NewMySQLChecker .
func (MySQLChecker) CheckInt64 ¶
func (c MySQLChecker) CheckInt64(id int64) error
CheckInt64 of MySQLChecker .
Click to show internal directories.
Click to hide internal directories.