Documentation ¶
Overview ¶
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Do not edit this file, which is automatically generated by the generator.
Index ¶
- type CodeInvitation
- func (this *CodeInvitation) Add() (pk interface{}, err error)
- func (this *CodeInvitation) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CodeInvitation) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CodeInvitation) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CodeInvitation) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CodeInvitation) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CodeInvitation) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CodeInvitation) NewObjects() *[]*CodeInvitation
- func (this *CodeInvitation) NewParam() *factory.Param
- func (this *CodeInvitation) Objects() []*CodeInvitation
- func (this *CodeInvitation) Param() *factory.Param
- func (this *CodeInvitation) SetParam(param *factory.Param) factory.Model
- func (this *CodeInvitation) Trans() *factory.Transaction
- func (this *CodeInvitation) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CodeInvitation) Use(trans *factory.Transaction) factory.Model
- type CodeVerification
- func (this *CodeVerification) Add() (pk interface{}, err error)
- func (this *CodeVerification) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CodeVerification) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CodeVerification) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CodeVerification) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CodeVerification) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CodeVerification) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CodeVerification) NewObjects() *[]*CodeVerification
- func (this *CodeVerification) NewParam() *factory.Param
- func (this *CodeVerification) Objects() []*CodeVerification
- func (this *CodeVerification) Param() *factory.Param
- func (this *CodeVerification) SetParam(param *factory.Param) factory.Model
- func (this *CodeVerification) Trans() *factory.Transaction
- func (this *CodeVerification) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CodeVerification) Use(trans *factory.Transaction) factory.Model
- type FtpUser
- func (this *FtpUser) Add() (pk interface{}, err error)
- func (this *FtpUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *FtpUser) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FtpUser) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FtpUser) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FtpUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *FtpUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *FtpUser) NewObjects() *[]*FtpUser
- func (this *FtpUser) NewParam() *factory.Param
- func (this *FtpUser) Objects() []*FtpUser
- func (this *FtpUser) Param() *factory.Param
- func (this *FtpUser) SetParam(param *factory.Param) factory.Model
- func (this *FtpUser) Trans() *factory.Transaction
- func (this *FtpUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *FtpUser) Use(trans *factory.Transaction) factory.Model
- type FtpUserGroup
- func (this *FtpUserGroup) Add() (pk interface{}, err error)
- func (this *FtpUserGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *FtpUserGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FtpUserGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FtpUserGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FtpUserGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *FtpUserGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *FtpUserGroup) NewObjects() *[]*FtpUserGroup
- func (this *FtpUserGroup) NewParam() *factory.Param
- func (this *FtpUserGroup) Objects() []*FtpUserGroup
- func (this *FtpUserGroup) Param() *factory.Param
- func (this *FtpUserGroup) SetParam(param *factory.Param) factory.Model
- func (this *FtpUserGroup) Trans() *factory.Transaction
- func (this *FtpUserGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *FtpUserGroup) Use(trans *factory.Transaction) factory.Model
- type Task
- func (this *Task) Add() (pk interface{}, err error)
- func (this *Task) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *Task) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Task) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Task) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Task) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *Task) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *Task) NewObjects() *[]*Task
- func (this *Task) NewParam() *factory.Param
- func (this *Task) Objects() []*Task
- func (this *Task) Param() *factory.Param
- func (this *Task) SetParam(param *factory.Param) factory.Model
- func (this *Task) Trans() *factory.Transaction
- func (this *Task) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *Task) Use(trans *factory.Transaction) factory.Model
- type TaskGroup
- func (this *TaskGroup) Add() (pk interface{}, err error)
- func (this *TaskGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *TaskGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *TaskGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *TaskGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *TaskGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *TaskGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *TaskGroup) NewObjects() *[]*TaskGroup
- func (this *TaskGroup) NewParam() *factory.Param
- func (this *TaskGroup) Objects() []*TaskGroup
- func (this *TaskGroup) Param() *factory.Param
- func (this *TaskGroup) SetParam(param *factory.Param) factory.Model
- func (this *TaskGroup) Trans() *factory.Transaction
- func (this *TaskGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *TaskGroup) Use(trans *factory.Transaction) factory.Model
- type TaskLog
- func (this *TaskLog) Add() (pk interface{}, err error)
- func (this *TaskLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *TaskLog) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *TaskLog) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *TaskLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *TaskLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *TaskLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *TaskLog) NewObjects() *[]*TaskLog
- func (this *TaskLog) NewParam() *factory.Param
- func (this *TaskLog) Objects() []*TaskLog
- func (this *TaskLog) Param() *factory.Param
- func (this *TaskLog) SetParam(param *factory.Param) factory.Model
- func (this *TaskLog) Trans() *factory.Transaction
- func (this *TaskLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *TaskLog) Use(trans *factory.Transaction) factory.Model
- type User
- func (this *User) Add() (pk interface{}, err error)
- func (this *User) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *User) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *User) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *User) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *User) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *User) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *User) NewObjects() *[]*User
- func (this *User) NewParam() *factory.Param
- func (this *User) Objects() []*User
- func (this *User) Param() *factory.Param
- func (this *User) SetParam(param *factory.Param) factory.Model
- func (this *User) Trans() *factory.Transaction
- func (this *User) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *User) Use(trans *factory.Transaction) factory.Model
- type UserU2f
- func (this *UserU2f) Add() (pk interface{}, err error)
- func (this *UserU2f) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *UserU2f) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *UserU2f) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *UserU2f) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *UserU2f) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *UserU2f) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *UserU2f) NewObjects() *[]*UserU2f
- func (this *UserU2f) NewParam() *factory.Param
- func (this *UserU2f) Objects() []*UserU2f
- func (this *UserU2f) Param() *factory.Param
- func (this *UserU2f) SetParam(param *factory.Param) factory.Model
- func (this *UserU2f) Trans() *factory.Transaction
- func (this *UserU2f) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *UserU2f) Use(trans *factory.Transaction) factory.Model
- type Vhost
- func (this *Vhost) Add() (pk interface{}, err error)
- func (this *Vhost) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *Vhost) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Vhost) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Vhost) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Vhost) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *Vhost) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *Vhost) NewObjects() *[]*Vhost
- func (this *Vhost) NewParam() *factory.Param
- func (this *Vhost) Objects() []*Vhost
- func (this *Vhost) Param() *factory.Param
- func (this *Vhost) SetParam(param *factory.Param) factory.Model
- func (this *Vhost) Trans() *factory.Transaction
- func (this *Vhost) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *Vhost) Use(trans *factory.Transaction) factory.Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeInvitation ¶
type CodeInvitation struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Code string `db:"code" bson:"code" comment:"邀请码" json:"code" xml:"code"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Uid uint `db:"uid" bson:"uid" comment:"创建者" json:"uid" xml:"uid"` RecvUid uint `db:"recv_uid" bson:"recv_uid" comment:"使用者" json:"recv_uid" xml:"recv_uid"` Used uint `db:"used" bson:"used" comment:"使用时间" json:"used" xml:"used"` Start uint `db:"start" bson:"start" comment:"有效时间" json:"start" xml:"start"` End uint `db:"end" bson:"end" comment:"失效时间" json:"end" xml:"end"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` // contains filtered or unexported fields }
func (*CodeInvitation) Add ¶
func (this *CodeInvitation) Add() (pk interface{}, err error)
func (*CodeInvitation) ListByOffset ¶
func (*CodeInvitation) NewObjects ¶
func (this *CodeInvitation) NewObjects() *[]*CodeInvitation
func (*CodeInvitation) NewParam ¶
func (this *CodeInvitation) NewParam() *factory.Param
func (*CodeInvitation) Objects ¶
func (this *CodeInvitation) Objects() []*CodeInvitation
func (*CodeInvitation) Param ¶
func (this *CodeInvitation) Param() *factory.Param
func (*CodeInvitation) SetParam ¶
func (this *CodeInvitation) SetParam(param *factory.Param) factory.Model
func (*CodeInvitation) Trans ¶
func (this *CodeInvitation) Trans() *factory.Transaction
func (*CodeInvitation) Use ¶
func (this *CodeInvitation) Use(trans *factory.Transaction) factory.Model
type CodeVerification ¶
type CodeVerification struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Code string `db:"code" bson:"code" comment:"验证码" json:"code" xml:"code"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Uid uint `db:"uid" bson:"uid" comment:"创建者" json:"uid" xml:"uid"` Used uint `db:"used" bson:"used" comment:"使用时间" json:"used" xml:"used"` Purpose string `db:"purpose" bson:"purpose" comment:"目的" json:"purpose" xml:"purpose"` Start uint `db:"start" bson:"start" comment:"有效时间" json:"start" xml:"start"` End uint `db:"end" bson:"end" comment:"失效时间" json:"end" xml:"end"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` // contains filtered or unexported fields }
func (*CodeVerification) Add ¶
func (this *CodeVerification) Add() (pk interface{}, err error)
func (*CodeVerification) ListByOffset ¶
func (*CodeVerification) NewObjects ¶
func (this *CodeVerification) NewObjects() *[]*CodeVerification
func (*CodeVerification) NewParam ¶
func (this *CodeVerification) NewParam() *factory.Param
func (*CodeVerification) Objects ¶
func (this *CodeVerification) Objects() []*CodeVerification
func (*CodeVerification) Param ¶
func (this *CodeVerification) Param() *factory.Param
func (*CodeVerification) SetParam ¶
func (this *CodeVerification) SetParam(param *factory.Param) factory.Model
func (*CodeVerification) Trans ¶
func (this *CodeVerification) Trans() *factory.Transaction
func (*CodeVerification) Use ¶
func (this *CodeVerification) Use(trans *factory.Transaction) factory.Model
type FtpUser ¶
type FtpUser struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` Username string `db:"username" bson:"username" comment:"用户名" json:"username" xml:"username"` Password string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"` Banned string `db:"banned" bson:"banned" comment:"是否禁止连接" json:"banned" xml:"banned"` Directory string `db:"directory" bson:"directory" comment:"授权目录(一行一个) " json:"directory" xml:"directory"` IpWhitelist string `db:"ip_whitelist" bson:"ip_whitelist" comment:"IP白名单(一行一个) " json:"ip_whitelist" xml:"ip_whitelist"` IpBlacklist string `db:"ip_blacklist" bson:"ip_blacklist" comment:"IP黑名单(一行一个) " json:"ip_blacklist" xml:"ip_blacklist"` Created uint `db:"created" bson:"created" comment:"创建时间 " json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` GroupId uint `db:"group_id" bson:"group_id" comment:"用户组" json:"group_id" xml:"group_id"` // contains filtered or unexported fields }
func (*FtpUser) ListByOffset ¶
func (*FtpUser) NewObjects ¶
func (*FtpUser) Trans ¶
func (this *FtpUser) Trans() *factory.Transaction
type FtpUserGroup ¶
type FtpUserGroup struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` Name string `db:"name" bson:"name" comment:"组名称" json:"name" xml:"name"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` Banned string `db:"banned" bson:"banned" comment:"是否禁止组内用户连接" json:"banned" xml:"banned"` Directory string `db:"directory" bson:"directory" comment:"授权目录" json:"directory" xml:"directory"` IpWhitelist string `db:"ip_whitelist" bson:"ip_whitelist" comment:"IP白名单(一行一个)" json:"ip_whitelist" xml:"ip_whitelist"` IpBlacklist string `db:"ip_blacklist" bson:"ip_blacklist" comment:"IP黑名单(一行一个)" json:"ip_blacklist" xml:"ip_blacklist"` // contains filtered or unexported fields }
func (*FtpUserGroup) Add ¶
func (this *FtpUserGroup) Add() (pk interface{}, err error)
func (*FtpUserGroup) ListByOffset ¶
func (*FtpUserGroup) NewObjects ¶
func (this *FtpUserGroup) NewObjects() *[]*FtpUserGroup
func (*FtpUserGroup) NewParam ¶
func (this *FtpUserGroup) NewParam() *factory.Param
func (*FtpUserGroup) Objects ¶
func (this *FtpUserGroup) Objects() []*FtpUserGroup
func (*FtpUserGroup) Param ¶
func (this *FtpUserGroup) Param() *factory.Param
func (*FtpUserGroup) SetParam ¶
func (this *FtpUserGroup) SetParam(param *factory.Param) factory.Model
func (*FtpUserGroup) Trans ¶
func (this *FtpUserGroup) Trans() *factory.Transaction
func (*FtpUserGroup) Use ¶
func (this *FtpUserGroup) Use(trans *factory.Transaction) factory.Model
type Task ¶
type Task struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` Uid uint `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"` GroupId uint `db:"group_id" bson:"group_id" comment:"分组ID" json:"group_id" xml:"group_id"` Name string `db:"name" bson:"name" comment:"任务名称" json:"name" xml:"name"` Type int `db:"type" bson:"type" comment:"任务类型" json:"type" xml:"type"` Description string `db:"description" bson:"description" comment:"任务描述" json:"description" xml:"description"` CronSpec string `db:"cron_spec" bson:"cron_spec" comment:"时间表达式" json:"cron_spec" xml:"cron_spec"` Concurrent uint `db:"concurrent" bson:"concurrent" comment:"是否只允许一个实例" json:"concurrent" xml:"concurrent"` Command string `db:"command" bson:"command" comment:"命令详情" json:"command" xml:"command"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` EnableNotify uint `db:"enable_notify" bson:"enable_notify" comment:"是否启用通知" json:"enable_notify" xml:"enable_notify"` NotifyEmail string `db:"notify_email" bson:"notify_email" comment:"通知人列表" json:"notify_email" xml:"notify_email"` Timeout uint `db:"timeout" bson:"timeout" comment:"超时设置" json:"timeout" xml:"timeout"` ExecuteTimes uint `db:"execute_times" bson:"execute_times" comment:"累计执行次数" json:"execute_times" xml:"execute_times"` PrevTime uint `db:"prev_time" bson:"prev_time" comment:"上次执行时间" json:"prev_time" xml:"prev_time"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` // contains filtered or unexported fields }
func (*Task) ListByOffset ¶
func (*Task) NewObjects ¶
func (*Task) Trans ¶
func (this *Task) Trans() *factory.Transaction
type TaskGroup ¶
type TaskGroup struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` Uid uint `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"` Name string `db:"name" bson:"name" comment:"组名" json:"name" xml:"name"` Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` // contains filtered or unexported fields }
func (*TaskGroup) ListByOffset ¶
func (*TaskGroup) NewObjects ¶
func (*TaskGroup) Trans ¶
func (this *TaskGroup) Trans() *factory.Transaction
type TaskLog ¶
type TaskLog struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` TaskId uint `db:"task_id" bson:"task_id" comment:"任务ID" json:"task_id" xml:"task_id"` Output string `db:"output" bson:"output" comment:"任务输出" json:"output" xml:"output"` Error string `db:"error" bson:"error" comment:"错误信息" json:"error" xml:"error"` Status string `db:"status" bson:"status" comment:"状态" json:"status" xml:"status"` Elapsed uint `db:"elapsed" bson:"elapsed" comment:"消耗时间(毫秒)" json:"elapsed" xml:"elapsed"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` // contains filtered or unexported fields }
func (*TaskLog) ListByOffset ¶
func (*TaskLog) NewObjects ¶
func (*TaskLog) Trans ¶
func (this *TaskLog) Trans() *factory.Transaction
type User ¶
type User struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` Username string `db:"username" bson:"username" comment:"用户名" json:"username" xml:"username"` Email string `db:"email" bson:"email" comment:"邮箱" json:"email" xml:"email"` Password string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"` Salt string `db:"salt" bson:"salt" comment:"盐值" json:"salt" xml:"salt"` LastLogin uint `db:"last_login" bson:"last_login" comment:"最后登录时间" json:"last_login" xml:"last_login"` LastIp string `db:"last_ip" bson:"last_ip" comment:"最后登录IP" json:"last_ip" xml:"last_ip"` Disabled string `db:"disabled" bson:"disabled" comment:"状态" json:"disabled" xml:"disabled"` // contains filtered or unexported fields }
func (*User) ListByOffset ¶
func (*User) NewObjects ¶
func (*User) Trans ¶
func (this *User) Trans() *factory.Transaction
type UserU2f ¶
type UserU2f struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` Uid uint `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"` Token string `db:"token" bson:"token" comment:"签名" json:"token" xml:"token"` Type string `db:"type" bson:"type" comment:"类型" json:"type" xml:"type"` Extra string `db:"extra" bson:"extra" comment:"扩展设置" json:"extra" xml:"extra"` Created uint `db:"created" bson:"created" comment:"绑定时间" json:"created" xml:"created"` // contains filtered or unexported fields }
func (*UserU2f) ListByOffset ¶
func (*UserU2f) NewObjects ¶
func (*UserU2f) Trans ¶
func (this *UserU2f) Trans() *factory.Transaction
type Vhost ¶
type Vhost struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Domain string `db:"domain" bson:"domain" comment:"域名" json:"domain" xml:"domain"` Root string `db:"root" bson:"root" comment:"网站物理路径" json:"root" xml:"root"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"` Setting string `db:"setting" bson:"setting" comment:"设置" json:"setting" xml:"setting"` Disabled string `db:"disabled" bson:"disabled" comment:"是否停用" json:"disabled" xml:"disabled"` // contains filtered or unexported fields }
func (*Vhost) ListByOffset ¶
func (*Vhost) NewObjects ¶
func (*Vhost) Trans ¶
func (this *Vhost) Trans() *factory.Transaction