Documentation ¶
Index ¶
- Variables
- func CreateTestUser()
- func Done(uid string)
- func GetRandomToken(uid string) (auth, token string)
- func SetDB(r *gorm.DB) *gorm.DB
- func SetDialector(dialector gorm.Dialector) *gorm.DB
- func SetOid(oid string)
- func SetSqlite(file string) *gorm.DB
- type ApiData
- type Job
- type Listening
- type Replies
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotListeningList = errors.New("不是一个好的监听列表")
监听列表获取错误
Functions ¶
func CreateTestUser ¶
func CreateTestUser()
Types ¶
type Job ¶
type Job struct { // 数据库内序号 ID int64 `gorm:"primaryKey;autoIncrement" json:"-"` UserUid string Patten string `form:"patten" json:"patten" yaml:"patten"` request.Job }
回调任务封装
type Replies ¶
Click to show internal directories.
Click to hide internal directories.