Documentation ¶
Index ¶
- Variables
- type AccessLog
- func (this *AccessLog) Add() (pk interface{}, err error)
- func (this *AccessLog) AsKV(keyField string, valueField string, inputRows ...[]*AccessLog) map[string]interface{}
- func (this *AccessLog) AsMap() map[string]interface{}
- func (this *AccessLog) AsRow() map[string]interface{}
- func (this *AccessLog) BatchValidate(kvset map[string]interface{}) error
- func (this *AccessLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *AccessLog) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *AccessLog) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *AccessLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *AccessLog) GroupBy(keyField string, inputRows ...[]*AccessLog) map[string][]*AccessLog
- func (this *AccessLog) KeyBy(keyField string, inputRows ...[]*AccessLog) map[string]*AccessLog
- func (this *AccessLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *AccessLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *AccessLog) Name_() string
- func (this *AccessLog) New(structName string, connID ...int) factory.Model
- func (this *AccessLog) NewObjects() *[]*AccessLog
- func (this *AccessLog) NewParam() *factory.Param
- func (this *AccessLog) Objects() []*AccessLog
- func (this *AccessLog) Param() *factory.Param
- func (this *AccessLog) Reset() *AccessLog
- func (this *AccessLog) SetConnID(connID int) factory.Model
- func (this *AccessLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *AccessLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *AccessLog) SetNamer(namer func(string) string) factory.Model
- func (this *AccessLog) SetParam(param *factory.Param) factory.Model
- func (this *AccessLog) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *AccessLog) Short_() string
- func (this *AccessLog) Struct_() string
- func (this *AccessLog) Trans() *factory.Transaction
- func (this *AccessLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *AccessLog) Use(trans *factory.Transaction) factory.Model
- func (this *AccessLog) Validate(field string, value interface{}) error
- type CodeInvitation
- func (this *CodeInvitation) Add() (pk interface{}, err error)
- func (this *CodeInvitation) AsKV(keyField string, valueField string, inputRows ...[]*CodeInvitation) map[string]interface{}
- func (this *CodeInvitation) AsMap() map[string]interface{}
- func (this *CodeInvitation) AsRow() map[string]interface{}
- func (this *CodeInvitation) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*CodeInvitation) map[string][]*CodeInvitation
- func (this *CodeInvitation) KeyBy(keyField string, inputRows ...[]*CodeInvitation) map[string]*CodeInvitation
- 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) Name_() string
- func (this *CodeInvitation) New(structName string, connID ...int) factory.Model
- 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) Reset() *CodeInvitation
- func (this *CodeInvitation) SetConnID(connID int) factory.Model
- func (this *CodeInvitation) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CodeInvitation) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CodeInvitation) SetNamer(namer func(string) string) factory.Model
- func (this *CodeInvitation) SetParam(param *factory.Param) factory.Model
- func (this *CodeInvitation) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CodeInvitation) Short_() string
- func (this *CodeInvitation) Struct_() string
- 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
- func (this *CodeInvitation) Validate(field string, value interface{}) error
- type CodeVerification
- func (this *CodeVerification) Add() (pk interface{}, err error)
- func (this *CodeVerification) AsKV(keyField string, valueField string, inputRows ...[]*CodeVerification) map[string]interface{}
- func (this *CodeVerification) AsMap() map[string]interface{}
- func (this *CodeVerification) AsRow() map[string]interface{}
- func (this *CodeVerification) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*CodeVerification) map[string][]*CodeVerification
- func (this *CodeVerification) KeyBy(keyField string, inputRows ...[]*CodeVerification) map[string]*CodeVerification
- 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) Name_() string
- func (this *CodeVerification) New(structName string, connID ...int) factory.Model
- 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) Reset() *CodeVerification
- func (this *CodeVerification) SetConnID(connID int) factory.Model
- func (this *CodeVerification) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CodeVerification) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CodeVerification) SetNamer(namer func(string) string) factory.Model
- func (this *CodeVerification) SetParam(param *factory.Param) factory.Model
- func (this *CodeVerification) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CodeVerification) Short_() string
- func (this *CodeVerification) Struct_() string
- 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
- func (this *CodeVerification) Validate(field string, value interface{}) error
- type CollectorExport
- func (this *CollectorExport) Add() (pk interface{}, err error)
- func (this *CollectorExport) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExport) map[string]interface{}
- func (this *CollectorExport) AsMap() map[string]interface{}
- func (this *CollectorExport) AsRow() map[string]interface{}
- func (this *CollectorExport) BatchValidate(kvset map[string]interface{}) error
- func (this *CollectorExport) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CollectorExport) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorExport) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorExport) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorExport) GroupBy(keyField string, inputRows ...[]*CollectorExport) map[string][]*CollectorExport
- func (this *CollectorExport) KeyBy(keyField string, inputRows ...[]*CollectorExport) map[string]*CollectorExport
- func (this *CollectorExport) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CollectorExport) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CollectorExport) Name_() string
- func (this *CollectorExport) New(structName string, connID ...int) factory.Model
- func (this *CollectorExport) NewObjects() *[]*CollectorExport
- func (this *CollectorExport) NewParam() *factory.Param
- func (this *CollectorExport) Objects() []*CollectorExport
- func (this *CollectorExport) Param() *factory.Param
- func (this *CollectorExport) Reset() *CollectorExport
- func (this *CollectorExport) SetConnID(connID int) factory.Model
- func (this *CollectorExport) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CollectorExport) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CollectorExport) SetNamer(namer func(string) string) factory.Model
- func (this *CollectorExport) SetParam(param *factory.Param) factory.Model
- func (this *CollectorExport) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CollectorExport) Short_() string
- func (this *CollectorExport) Struct_() string
- func (this *CollectorExport) Trans() *factory.Transaction
- func (this *CollectorExport) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CollectorExport) Use(trans *factory.Transaction) factory.Model
- func (this *CollectorExport) Validate(field string, value interface{}) error
- type CollectorExportLog
- func (this *CollectorExportLog) Add() (pk interface{}, err error)
- func (this *CollectorExportLog) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExportLog) map[string]interface{}
- func (this *CollectorExportLog) AsMap() map[string]interface{}
- func (this *CollectorExportLog) AsRow() map[string]interface{}
- func (this *CollectorExportLog) BatchValidate(kvset map[string]interface{}) error
- func (this *CollectorExportLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CollectorExportLog) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorExportLog) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorExportLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorExportLog) GroupBy(keyField string, inputRows ...[]*CollectorExportLog) map[string][]*CollectorExportLog
- func (this *CollectorExportLog) KeyBy(keyField string, inputRows ...[]*CollectorExportLog) map[string]*CollectorExportLog
- func (this *CollectorExportLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CollectorExportLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CollectorExportLog) Name_() string
- func (this *CollectorExportLog) New(structName string, connID ...int) factory.Model
- func (this *CollectorExportLog) NewObjects() *[]*CollectorExportLog
- func (this *CollectorExportLog) NewParam() *factory.Param
- func (this *CollectorExportLog) Objects() []*CollectorExportLog
- func (this *CollectorExportLog) Param() *factory.Param
- func (this *CollectorExportLog) Reset() *CollectorExportLog
- func (this *CollectorExportLog) SetConnID(connID int) factory.Model
- func (this *CollectorExportLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CollectorExportLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CollectorExportLog) SetNamer(namer func(string) string) factory.Model
- func (this *CollectorExportLog) SetParam(param *factory.Param) factory.Model
- func (this *CollectorExportLog) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CollectorExportLog) Short_() string
- func (this *CollectorExportLog) Struct_() string
- func (this *CollectorExportLog) Trans() *factory.Transaction
- func (this *CollectorExportLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CollectorExportLog) Use(trans *factory.Transaction) factory.Model
- func (this *CollectorExportLog) Validate(field string, value interface{}) error
- type CollectorGroup
- func (this *CollectorGroup) Add() (pk interface{}, err error)
- func (this *CollectorGroup) AsKV(keyField string, valueField string, inputRows ...[]*CollectorGroup) map[string]interface{}
- func (this *CollectorGroup) AsMap() map[string]interface{}
- func (this *CollectorGroup) AsRow() map[string]interface{}
- func (this *CollectorGroup) BatchValidate(kvset map[string]interface{}) error
- func (this *CollectorGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CollectorGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorGroup) GroupBy(keyField string, inputRows ...[]*CollectorGroup) map[string][]*CollectorGroup
- func (this *CollectorGroup) KeyBy(keyField string, inputRows ...[]*CollectorGroup) map[string]*CollectorGroup
- func (this *CollectorGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CollectorGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CollectorGroup) Name_() string
- func (this *CollectorGroup) New(structName string, connID ...int) factory.Model
- func (this *CollectorGroup) NewObjects() *[]*CollectorGroup
- func (this *CollectorGroup) NewParam() *factory.Param
- func (this *CollectorGroup) Objects() []*CollectorGroup
- func (this *CollectorGroup) Param() *factory.Param
- func (this *CollectorGroup) Reset() *CollectorGroup
- func (this *CollectorGroup) SetConnID(connID int) factory.Model
- func (this *CollectorGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CollectorGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CollectorGroup) SetNamer(namer func(string) string) factory.Model
- func (this *CollectorGroup) SetParam(param *factory.Param) factory.Model
- func (this *CollectorGroup) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CollectorGroup) Short_() string
- func (this *CollectorGroup) Struct_() string
- func (this *CollectorGroup) Trans() *factory.Transaction
- func (this *CollectorGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CollectorGroup) Use(trans *factory.Transaction) factory.Model
- func (this *CollectorGroup) Validate(field string, value interface{}) error
- type CollectorHistory
- func (this *CollectorHistory) Add() (pk interface{}, err error)
- func (this *CollectorHistory) AsKV(keyField string, valueField string, inputRows ...[]*CollectorHistory) map[string]interface{}
- func (this *CollectorHistory) AsMap() map[string]interface{}
- func (this *CollectorHistory) AsRow() map[string]interface{}
- func (this *CollectorHistory) BatchValidate(kvset map[string]interface{}) error
- func (this *CollectorHistory) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CollectorHistory) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorHistory) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorHistory) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorHistory) GroupBy(keyField string, inputRows ...[]*CollectorHistory) map[string][]*CollectorHistory
- func (this *CollectorHistory) KeyBy(keyField string, inputRows ...[]*CollectorHistory) map[string]*CollectorHistory
- func (this *CollectorHistory) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CollectorHistory) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CollectorHistory) Name_() string
- func (this *CollectorHistory) New(structName string, connID ...int) factory.Model
- func (this *CollectorHistory) NewObjects() *[]*CollectorHistory
- func (this *CollectorHistory) NewParam() *factory.Param
- func (this *CollectorHistory) Objects() []*CollectorHistory
- func (this *CollectorHistory) Param() *factory.Param
- func (this *CollectorHistory) Reset() *CollectorHistory
- func (this *CollectorHistory) SetConnID(connID int) factory.Model
- func (this *CollectorHistory) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CollectorHistory) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CollectorHistory) SetNamer(namer func(string) string) factory.Model
- func (this *CollectorHistory) SetParam(param *factory.Param) factory.Model
- func (this *CollectorHistory) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CollectorHistory) Short_() string
- func (this *CollectorHistory) Struct_() string
- func (this *CollectorHistory) Trans() *factory.Transaction
- func (this *CollectorHistory) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CollectorHistory) Use(trans *factory.Transaction) factory.Model
- func (this *CollectorHistory) Validate(field string, value interface{}) error
- type CollectorPage
- func (this *CollectorPage) Add() (pk interface{}, err error)
- func (this *CollectorPage) AsKV(keyField string, valueField string, inputRows ...[]*CollectorPage) map[string]interface{}
- func (this *CollectorPage) AsMap() map[string]interface{}
- func (this *CollectorPage) AsRow() map[string]interface{}
- func (this *CollectorPage) BatchValidate(kvset map[string]interface{}) error
- func (this *CollectorPage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CollectorPage) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorPage) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorPage) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorPage) GroupBy(keyField string, inputRows ...[]*CollectorPage) map[string][]*CollectorPage
- func (this *CollectorPage) KeyBy(keyField string, inputRows ...[]*CollectorPage) map[string]*CollectorPage
- func (this *CollectorPage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CollectorPage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CollectorPage) Name_() string
- func (this *CollectorPage) New(structName string, connID ...int) factory.Model
- func (this *CollectorPage) NewObjects() *[]*CollectorPage
- func (this *CollectorPage) NewParam() *factory.Param
- func (this *CollectorPage) Objects() []*CollectorPage
- func (this *CollectorPage) Param() *factory.Param
- func (this *CollectorPage) Reset() *CollectorPage
- func (this *CollectorPage) SetConnID(connID int) factory.Model
- func (this *CollectorPage) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CollectorPage) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CollectorPage) SetNamer(namer func(string) string) factory.Model
- func (this *CollectorPage) SetParam(param *factory.Param) factory.Model
- func (this *CollectorPage) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CollectorPage) Short_() string
- func (this *CollectorPage) Struct_() string
- func (this *CollectorPage) Trans() *factory.Transaction
- func (this *CollectorPage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CollectorPage) Use(trans *factory.Transaction) factory.Model
- func (this *CollectorPage) Validate(field string, value interface{}) error
- type CollectorRule
- func (this *CollectorRule) Add() (pk interface{}, err error)
- func (this *CollectorRule) AsKV(keyField string, valueField string, inputRows ...[]*CollectorRule) map[string]interface{}
- func (this *CollectorRule) AsMap() map[string]interface{}
- func (this *CollectorRule) AsRow() map[string]interface{}
- func (this *CollectorRule) BatchValidate(kvset map[string]interface{}) error
- func (this *CollectorRule) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *CollectorRule) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorRule) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorRule) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *CollectorRule) GroupBy(keyField string, inputRows ...[]*CollectorRule) map[string][]*CollectorRule
- func (this *CollectorRule) KeyBy(keyField string, inputRows ...[]*CollectorRule) map[string]*CollectorRule
- func (this *CollectorRule) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *CollectorRule) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *CollectorRule) Name_() string
- func (this *CollectorRule) New(structName string, connID ...int) factory.Model
- func (this *CollectorRule) NewObjects() *[]*CollectorRule
- func (this *CollectorRule) NewParam() *factory.Param
- func (this *CollectorRule) Objects() []*CollectorRule
- func (this *CollectorRule) Param() *factory.Param
- func (this *CollectorRule) Reset() *CollectorRule
- func (this *CollectorRule) SetConnID(connID int) factory.Model
- func (this *CollectorRule) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *CollectorRule) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *CollectorRule) SetNamer(namer func(string) string) factory.Model
- func (this *CollectorRule) SetParam(param *factory.Param) factory.Model
- func (this *CollectorRule) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *CollectorRule) Short_() string
- func (this *CollectorRule) Struct_() string
- func (this *CollectorRule) Trans() *factory.Transaction
- func (this *CollectorRule) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *CollectorRule) Use(trans *factory.Transaction) factory.Model
- func (this *CollectorRule) Validate(field string, value interface{}) error
- type Command
- func (this *Command) Add() (pk interface{}, err error)
- func (this *Command) AsKV(keyField string, valueField string, inputRows ...[]*Command) map[string]interface{}
- func (this *Command) AsMap() map[string]interface{}
- func (this *Command) AsRow() map[string]interface{}
- func (this *Command) BatchValidate(kvset map[string]interface{}) error
- func (this *Command) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *Command) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Command) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Command) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Command) GroupBy(keyField string, inputRows ...[]*Command) map[string][]*Command
- func (this *Command) KeyBy(keyField string, inputRows ...[]*Command) map[string]*Command
- func (this *Command) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *Command) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *Command) Name_() string
- func (this *Command) New(structName string, connID ...int) factory.Model
- func (this *Command) NewObjects() *[]*Command
- func (this *Command) NewParam() *factory.Param
- func (this *Command) Objects() []*Command
- func (this *Command) Param() *factory.Param
- func (this *Command) Reset() *Command
- func (this *Command) SetConnID(connID int) factory.Model
- func (this *Command) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *Command) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *Command) SetNamer(namer func(string) string) factory.Model
- func (this *Command) SetParam(param *factory.Param) factory.Model
- func (this *Command) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *Command) Short_() string
- func (this *Command) Struct_() string
- func (this *Command) Trans() *factory.Transaction
- func (this *Command) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *Command) Use(trans *factory.Transaction) factory.Model
- func (this *Command) Validate(field string, value interface{}) error
- type Config
- func (this *Config) Add() (pk interface{}, err error)
- func (this *Config) AsKV(keyField string, valueField string, inputRows ...[]*Config) map[string]interface{}
- func (this *Config) AsMap() map[string]interface{}
- func (this *Config) AsRow() map[string]interface{}
- func (this *Config) BatchValidate(kvset map[string]interface{}) error
- func (this *Config) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *Config) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Config) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Config) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *Config) GroupBy(keyField string, inputRows ...[]*Config) map[string][]*Config
- func (this *Config) KeyBy(keyField string, inputRows ...[]*Config) map[string]*Config
- func (this *Config) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *Config) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *Config) Name_() string
- func (this *Config) New(structName string, connID ...int) factory.Model
- func (this *Config) NewObjects() *[]*Config
- func (this *Config) NewParam() *factory.Param
- func (this *Config) Objects() []*Config
- func (this *Config) Param() *factory.Param
- func (this *Config) Reset() *Config
- func (this *Config) SetConnID(connID int) factory.Model
- func (this *Config) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *Config) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *Config) SetNamer(namer func(string) string) factory.Model
- func (this *Config) SetParam(param *factory.Param) factory.Model
- func (this *Config) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *Config) Short_() string
- func (this *Config) Struct_() string
- func (this *Config) Trans() *factory.Transaction
- func (this *Config) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *Config) Use(trans *factory.Transaction) factory.Model
- func (this *Config) Validate(field string, value interface{}) error
- type DbAccount
- func (this *DbAccount) Add() (pk interface{}, err error)
- func (this *DbAccount) AsKV(keyField string, valueField string, inputRows ...[]*DbAccount) map[string]interface{}
- func (this *DbAccount) AsMap() map[string]interface{}
- func (this *DbAccount) AsRow() map[string]interface{}
- func (this *DbAccount) BatchValidate(kvset map[string]interface{}) error
- func (this *DbAccount) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *DbAccount) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbAccount) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbAccount) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbAccount) GroupBy(keyField string, inputRows ...[]*DbAccount) map[string][]*DbAccount
- func (this *DbAccount) KeyBy(keyField string, inputRows ...[]*DbAccount) map[string]*DbAccount
- func (this *DbAccount) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *DbAccount) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *DbAccount) Name_() string
- func (this *DbAccount) New(structName string, connID ...int) factory.Model
- func (this *DbAccount) NewObjects() *[]*DbAccount
- func (this *DbAccount) NewParam() *factory.Param
- func (this *DbAccount) Objects() []*DbAccount
- func (this *DbAccount) Param() *factory.Param
- func (this *DbAccount) Reset() *DbAccount
- func (this *DbAccount) SetConnID(connID int) factory.Model
- func (this *DbAccount) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *DbAccount) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *DbAccount) SetNamer(namer func(string) string) factory.Model
- func (this *DbAccount) SetParam(param *factory.Param) factory.Model
- func (this *DbAccount) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *DbAccount) Short_() string
- func (this *DbAccount) Struct_() string
- func (this *DbAccount) Trans() *factory.Transaction
- func (this *DbAccount) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *DbAccount) Use(trans *factory.Transaction) factory.Model
- func (this *DbAccount) Validate(field string, value interface{}) error
- type DbSync
- func (this *DbSync) Add() (pk interface{}, err error)
- func (this *DbSync) AsKV(keyField string, valueField string, inputRows ...[]*DbSync) map[string]interface{}
- func (this *DbSync) AsMap() map[string]interface{}
- func (this *DbSync) AsRow() map[string]interface{}
- func (this *DbSync) BatchValidate(kvset map[string]interface{}) error
- func (this *DbSync) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *DbSync) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbSync) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbSync) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbSync) GroupBy(keyField string, inputRows ...[]*DbSync) map[string][]*DbSync
- func (this *DbSync) KeyBy(keyField string, inputRows ...[]*DbSync) map[string]*DbSync
- func (this *DbSync) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *DbSync) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *DbSync) Name_() string
- func (this *DbSync) New(structName string, connID ...int) factory.Model
- func (this *DbSync) NewObjects() *[]*DbSync
- func (this *DbSync) NewParam() *factory.Param
- func (this *DbSync) Objects() []*DbSync
- func (this *DbSync) Param() *factory.Param
- func (this *DbSync) Reset() *DbSync
- func (this *DbSync) SetConnID(connID int) factory.Model
- func (this *DbSync) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *DbSync) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *DbSync) SetNamer(namer func(string) string) factory.Model
- func (this *DbSync) SetParam(param *factory.Param) factory.Model
- func (this *DbSync) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *DbSync) Short_() string
- func (this *DbSync) Struct_() string
- func (this *DbSync) Trans() *factory.Transaction
- func (this *DbSync) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *DbSync) Use(trans *factory.Transaction) factory.Model
- func (this *DbSync) Validate(field string, value interface{}) error
- type DbSyncLog
- func (this *DbSyncLog) Add() (pk interface{}, err error)
- func (this *DbSyncLog) AsKV(keyField string, valueField string, inputRows ...[]*DbSyncLog) map[string]interface{}
- func (this *DbSyncLog) AsMap() map[string]interface{}
- func (this *DbSyncLog) AsRow() map[string]interface{}
- func (this *DbSyncLog) BatchValidate(kvset map[string]interface{}) error
- func (this *DbSyncLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *DbSyncLog) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbSyncLog) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbSyncLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *DbSyncLog) GroupBy(keyField string, inputRows ...[]*DbSyncLog) map[string][]*DbSyncLog
- func (this *DbSyncLog) KeyBy(keyField string, inputRows ...[]*DbSyncLog) map[string]*DbSyncLog
- func (this *DbSyncLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *DbSyncLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *DbSyncLog) Name_() string
- func (this *DbSyncLog) New(structName string, connID ...int) factory.Model
- func (this *DbSyncLog) NewObjects() *[]*DbSyncLog
- func (this *DbSyncLog) NewParam() *factory.Param
- func (this *DbSyncLog) Objects() []*DbSyncLog
- func (this *DbSyncLog) Param() *factory.Param
- func (this *DbSyncLog) Reset() *DbSyncLog
- func (this *DbSyncLog) SetConnID(connID int) factory.Model
- func (this *DbSyncLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *DbSyncLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *DbSyncLog) SetNamer(namer func(string) string) factory.Model
- func (this *DbSyncLog) SetParam(param *factory.Param) factory.Model
- func (this *DbSyncLog) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *DbSyncLog) Short_() string
- func (this *DbSyncLog) Struct_() string
- func (this *DbSyncLog) Trans() *factory.Transaction
- func (this *DbSyncLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *DbSyncLog) Use(trans *factory.Transaction) factory.Model
- func (this *DbSyncLog) Validate(field string, value interface{}) error
- type ForeverProcess
- func (this *ForeverProcess) Add() (pk interface{}, err error)
- func (this *ForeverProcess) AsKV(keyField string, valueField string, inputRows ...[]*ForeverProcess) map[string]interface{}
- func (this *ForeverProcess) AsMap() map[string]interface{}
- func (this *ForeverProcess) AsRow() map[string]interface{}
- func (this *ForeverProcess) BatchValidate(kvset map[string]interface{}) error
- func (this *ForeverProcess) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *ForeverProcess) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *ForeverProcess) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *ForeverProcess) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *ForeverProcess) GroupBy(keyField string, inputRows ...[]*ForeverProcess) map[string][]*ForeverProcess
- func (this *ForeverProcess) KeyBy(keyField string, inputRows ...[]*ForeverProcess) map[string]*ForeverProcess
- func (this *ForeverProcess) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *ForeverProcess) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *ForeverProcess) Name_() string
- func (this *ForeverProcess) New(structName string, connID ...int) factory.Model
- func (this *ForeverProcess) NewObjects() *[]*ForeverProcess
- func (this *ForeverProcess) NewParam() *factory.Param
- func (this *ForeverProcess) Objects() []*ForeverProcess
- func (this *ForeverProcess) Param() *factory.Param
- func (this *ForeverProcess) Reset() *ForeverProcess
- func (this *ForeverProcess) SetConnID(connID int) factory.Model
- func (this *ForeverProcess) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *ForeverProcess) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *ForeverProcess) SetNamer(namer func(string) string) factory.Model
- func (this *ForeverProcess) SetParam(param *factory.Param) factory.Model
- func (this *ForeverProcess) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *ForeverProcess) Short_() string
- func (this *ForeverProcess) Struct_() string
- func (this *ForeverProcess) Trans() *factory.Transaction
- func (this *ForeverProcess) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *ForeverProcess) Use(trans *factory.Transaction) factory.Model
- func (this *ForeverProcess) Validate(field string, value interface{}) error
- type FrpClient
- func (this *FrpClient) Add() (pk interface{}, err error)
- func (this *FrpClient) AsKV(keyField string, valueField string, inputRows ...[]*FrpClient) map[string]interface{}
- func (this *FrpClient) AsMap() map[string]interface{}
- func (this *FrpClient) AsRow() map[string]interface{}
- func (this *FrpClient) BatchValidate(kvset map[string]interface{}) error
- func (this *FrpClient) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *FrpClient) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpClient) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpClient) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpClient) GroupBy(keyField string, inputRows ...[]*FrpClient) map[string][]*FrpClient
- func (this *FrpClient) KeyBy(keyField string, inputRows ...[]*FrpClient) map[string]*FrpClient
- func (this *FrpClient) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *FrpClient) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *FrpClient) Name_() string
- func (this *FrpClient) New(structName string, connID ...int) factory.Model
- func (this *FrpClient) NewObjects() *[]*FrpClient
- func (this *FrpClient) NewParam() *factory.Param
- func (this *FrpClient) Objects() []*FrpClient
- func (this *FrpClient) Param() *factory.Param
- func (this *FrpClient) Reset() *FrpClient
- func (this *FrpClient) SetConnID(connID int) factory.Model
- func (this *FrpClient) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *FrpClient) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *FrpClient) SetNamer(namer func(string) string) factory.Model
- func (this *FrpClient) SetParam(param *factory.Param) factory.Model
- func (this *FrpClient) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *FrpClient) Short_() string
- func (this *FrpClient) Struct_() string
- func (this *FrpClient) Trans() *factory.Transaction
- func (this *FrpClient) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *FrpClient) Use(trans *factory.Transaction) factory.Model
- func (this *FrpClient) Validate(field string, value interface{}) error
- type FrpGroup
- func (this *FrpGroup) Add() (pk interface{}, err error)
- func (this *FrpGroup) AsKV(keyField string, valueField string, inputRows ...[]*FrpGroup) map[string]interface{}
- func (this *FrpGroup) AsMap() map[string]interface{}
- func (this *FrpGroup) AsRow() map[string]interface{}
- func (this *FrpGroup) BatchValidate(kvset map[string]interface{}) error
- func (this *FrpGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *FrpGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpGroup) GroupBy(keyField string, inputRows ...[]*FrpGroup) map[string][]*FrpGroup
- func (this *FrpGroup) KeyBy(keyField string, inputRows ...[]*FrpGroup) map[string]*FrpGroup
- func (this *FrpGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *FrpGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *FrpGroup) Name_() string
- func (this *FrpGroup) New(structName string, connID ...int) factory.Model
- func (this *FrpGroup) NewObjects() *[]*FrpGroup
- func (this *FrpGroup) NewParam() *factory.Param
- func (this *FrpGroup) Objects() []*FrpGroup
- func (this *FrpGroup) Param() *factory.Param
- func (this *FrpGroup) Reset() *FrpGroup
- func (this *FrpGroup) SetConnID(connID int) factory.Model
- func (this *FrpGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *FrpGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *FrpGroup) SetNamer(namer func(string) string) factory.Model
- func (this *FrpGroup) SetParam(param *factory.Param) factory.Model
- func (this *FrpGroup) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *FrpGroup) Short_() string
- func (this *FrpGroup) Struct_() string
- func (this *FrpGroup) Trans() *factory.Transaction
- func (this *FrpGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *FrpGroup) Use(trans *factory.Transaction) factory.Model
- func (this *FrpGroup) Validate(field string, value interface{}) error
- type FrpServer
- func (this *FrpServer) Add() (pk interface{}, err error)
- func (this *FrpServer) AsKV(keyField string, valueField string, inputRows ...[]*FrpServer) map[string]interface{}
- func (this *FrpServer) AsMap() map[string]interface{}
- func (this *FrpServer) AsRow() map[string]interface{}
- func (this *FrpServer) BatchValidate(kvset map[string]interface{}) error
- func (this *FrpServer) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *FrpServer) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpServer) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpServer) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *FrpServer) GroupBy(keyField string, inputRows ...[]*FrpServer) map[string][]*FrpServer
- func (this *FrpServer) KeyBy(keyField string, inputRows ...[]*FrpServer) map[string]*FrpServer
- func (this *FrpServer) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *FrpServer) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *FrpServer) Name_() string
- func (this *FrpServer) New(structName string, connID ...int) factory.Model
- func (this *FrpServer) NewObjects() *[]*FrpServer
- func (this *FrpServer) NewParam() *factory.Param
- func (this *FrpServer) Objects() []*FrpServer
- func (this *FrpServer) Param() *factory.Param
- func (this *FrpServer) Reset() *FrpServer
- func (this *FrpServer) SetConnID(connID int) factory.Model
- func (this *FrpServer) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *FrpServer) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *FrpServer) SetNamer(namer func(string) string) factory.Model
- func (this *FrpServer) SetParam(param *factory.Param) factory.Model
- func (this *FrpServer) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *FrpServer) Short_() string
- func (this *FrpServer) Struct_() string
- func (this *FrpServer) Trans() *factory.Transaction
- func (this *FrpServer) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *FrpServer) Use(trans *factory.Transaction) factory.Model
- func (this *FrpServer) Validate(field string, value interface{}) error
- type FtpUser
- func (this *FtpUser) Add() (pk interface{}, err error)
- func (this *FtpUser) AsKV(keyField string, valueField string, inputRows ...[]*FtpUser) map[string]interface{}
- func (this *FtpUser) AsMap() map[string]interface{}
- func (this *FtpUser) AsRow() map[string]interface{}
- func (this *FtpUser) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*FtpUser) map[string][]*FtpUser
- func (this *FtpUser) KeyBy(keyField string, inputRows ...[]*FtpUser) map[string]*FtpUser
- 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) Name_() string
- func (this *FtpUser) New(structName string, connID ...int) factory.Model
- 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) Reset() *FtpUser
- func (this *FtpUser) SetConnID(connID int) factory.Model
- func (this *FtpUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *FtpUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *FtpUser) SetNamer(namer func(string) string) factory.Model
- func (this *FtpUser) SetParam(param *factory.Param) factory.Model
- func (this *FtpUser) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *FtpUser) Short_() string
- func (this *FtpUser) Struct_() string
- 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
- func (this *FtpUser) Validate(field string, value interface{}) error
- type FtpUserGroup
- func (this *FtpUserGroup) Add() (pk interface{}, err error)
- func (this *FtpUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*FtpUserGroup) map[string]interface{}
- func (this *FtpUserGroup) AsMap() map[string]interface{}
- func (this *FtpUserGroup) AsRow() map[string]interface{}
- func (this *FtpUserGroup) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*FtpUserGroup) map[string][]*FtpUserGroup
- func (this *FtpUserGroup) KeyBy(keyField string, inputRows ...[]*FtpUserGroup) map[string]*FtpUserGroup
- 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) Name_() string
- func (this *FtpUserGroup) New(structName string, connID ...int) factory.Model
- 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) Reset() *FtpUserGroup
- func (this *FtpUserGroup) SetConnID(connID int) factory.Model
- func (this *FtpUserGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *FtpUserGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *FtpUserGroup) SetNamer(namer func(string) string) factory.Model
- func (this *FtpUserGroup) SetParam(param *factory.Param) factory.Model
- func (this *FtpUserGroup) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *FtpUserGroup) Short_() string
- func (this *FtpUserGroup) Struct_() string
- 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
- func (this *FtpUserGroup) Validate(field string, value interface{}) error
- type SendingLog
- func (this *SendingLog) Add() (pk interface{}, err error)
- func (this *SendingLog) AsKV(keyField string, valueField string, inputRows ...[]*SendingLog) map[string]interface{}
- func (this *SendingLog) AsMap() map[string]interface{}
- func (this *SendingLog) AsRow() map[string]interface{}
- func (this *SendingLog) BatchValidate(kvset map[string]interface{}) error
- func (this *SendingLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *SendingLog) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SendingLog) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SendingLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SendingLog) GroupBy(keyField string, inputRows ...[]*SendingLog) map[string][]*SendingLog
- func (this *SendingLog) KeyBy(keyField string, inputRows ...[]*SendingLog) map[string]*SendingLog
- func (this *SendingLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *SendingLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *SendingLog) Name_() string
- func (this *SendingLog) New(structName string, connID ...int) factory.Model
- func (this *SendingLog) NewObjects() *[]*SendingLog
- func (this *SendingLog) NewParam() *factory.Param
- func (this *SendingLog) Objects() []*SendingLog
- func (this *SendingLog) Param() *factory.Param
- func (this *SendingLog) Reset() *SendingLog
- func (this *SendingLog) SetConnID(connID int) factory.Model
- func (this *SendingLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *SendingLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *SendingLog) SetNamer(namer func(string) string) factory.Model
- func (this *SendingLog) SetParam(param *factory.Param) factory.Model
- func (this *SendingLog) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *SendingLog) Short_() string
- func (this *SendingLog) Struct_() string
- func (this *SendingLog) Trans() *factory.Transaction
- func (this *SendingLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *SendingLog) Use(trans *factory.Transaction) factory.Model
- func (this *SendingLog) Validate(field string, value interface{}) error
- type SshUser
- func (this *SshUser) Add() (pk interface{}, err error)
- func (this *SshUser) AsKV(keyField string, valueField string, inputRows ...[]*SshUser) map[string]interface{}
- func (this *SshUser) AsMap() map[string]interface{}
- func (this *SshUser) AsRow() map[string]interface{}
- func (this *SshUser) BatchValidate(kvset map[string]interface{}) error
- func (this *SshUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *SshUser) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SshUser) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SshUser) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SshUser) GroupBy(keyField string, inputRows ...[]*SshUser) map[string][]*SshUser
- func (this *SshUser) KeyBy(keyField string, inputRows ...[]*SshUser) map[string]*SshUser
- func (this *SshUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *SshUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *SshUser) Name_() string
- func (this *SshUser) New(structName string, connID ...int) factory.Model
- func (this *SshUser) NewObjects() *[]*SshUser
- func (this *SshUser) NewParam() *factory.Param
- func (this *SshUser) Objects() []*SshUser
- func (this *SshUser) Param() *factory.Param
- func (this *SshUser) Reset() *SshUser
- func (this *SshUser) SetConnID(connID int) factory.Model
- func (this *SshUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *SshUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *SshUser) SetNamer(namer func(string) string) factory.Model
- func (this *SshUser) SetParam(param *factory.Param) factory.Model
- func (this *SshUser) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *SshUser) Short_() string
- func (this *SshUser) Struct_() string
- func (this *SshUser) Trans() *factory.Transaction
- func (this *SshUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *SshUser) Use(trans *factory.Transaction) factory.Model
- func (this *SshUser) Validate(field string, value interface{}) error
- type SshUserGroup
- func (this *SshUserGroup) Add() (pk interface{}, err error)
- func (this *SshUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*SshUserGroup) map[string]interface{}
- func (this *SshUserGroup) AsMap() map[string]interface{}
- func (this *SshUserGroup) AsRow() map[string]interface{}
- func (this *SshUserGroup) BatchValidate(kvset map[string]interface{}) error
- func (this *SshUserGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *SshUserGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SshUserGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SshUserGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *SshUserGroup) GroupBy(keyField string, inputRows ...[]*SshUserGroup) map[string][]*SshUserGroup
- func (this *SshUserGroup) KeyBy(keyField string, inputRows ...[]*SshUserGroup) map[string]*SshUserGroup
- func (this *SshUserGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *SshUserGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *SshUserGroup) Name_() string
- func (this *SshUserGroup) New(structName string, connID ...int) factory.Model
- func (this *SshUserGroup) NewObjects() *[]*SshUserGroup
- func (this *SshUserGroup) NewParam() *factory.Param
- func (this *SshUserGroup) Objects() []*SshUserGroup
- func (this *SshUserGroup) Param() *factory.Param
- func (this *SshUserGroup) Reset() *SshUserGroup
- func (this *SshUserGroup) SetConnID(connID int) factory.Model
- func (this *SshUserGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *SshUserGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *SshUserGroup) SetNamer(namer func(string) string) factory.Model
- func (this *SshUserGroup) SetParam(param *factory.Param) factory.Model
- func (this *SshUserGroup) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *SshUserGroup) Short_() string
- func (this *SshUserGroup) Struct_() string
- func (this *SshUserGroup) Trans() *factory.Transaction
- func (this *SshUserGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *SshUserGroup) Use(trans *factory.Transaction) factory.Model
- func (this *SshUserGroup) Validate(field string, value interface{}) error
- type Task
- func (this *Task) Add() (pk interface{}, err error)
- func (this *Task) AsKV(keyField string, valueField string, inputRows ...[]*Task) map[string]interface{}
- func (this *Task) AsMap() map[string]interface{}
- func (this *Task) AsRow() map[string]interface{}
- func (this *Task) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*Task) map[string][]*Task
- func (this *Task) KeyBy(keyField string, inputRows ...[]*Task) map[string]*Task
- 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) Name_() string
- func (this *Task) New(structName string, connID ...int) factory.Model
- 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) Reset() *Task
- func (this *Task) SetConnID(connID int) factory.Model
- func (this *Task) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *Task) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *Task) SetNamer(namer func(string) string) factory.Model
- func (this *Task) SetParam(param *factory.Param) factory.Model
- func (this *Task) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *Task) Short_() string
- func (this *Task) Struct_() string
- 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
- func (this *Task) Validate(field string, value interface{}) error
- type TaskGroup
- func (this *TaskGroup) Add() (pk interface{}, err error)
- func (this *TaskGroup) AsKV(keyField string, valueField string, inputRows ...[]*TaskGroup) map[string]interface{}
- func (this *TaskGroup) AsMap() map[string]interface{}
- func (this *TaskGroup) AsRow() map[string]interface{}
- func (this *TaskGroup) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*TaskGroup) map[string][]*TaskGroup
- func (this *TaskGroup) KeyBy(keyField string, inputRows ...[]*TaskGroup) map[string]*TaskGroup
- 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) Name_() string
- func (this *TaskGroup) New(structName string, connID ...int) factory.Model
- 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) Reset() *TaskGroup
- func (this *TaskGroup) SetConnID(connID int) factory.Model
- func (this *TaskGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *TaskGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *TaskGroup) SetNamer(namer func(string) string) factory.Model
- func (this *TaskGroup) SetParam(param *factory.Param) factory.Model
- func (this *TaskGroup) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *TaskGroup) Short_() string
- func (this *TaskGroup) Struct_() string
- 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
- func (this *TaskGroup) Validate(field string, value interface{}) error
- type TaskLog
- func (this *TaskLog) Add() (pk interface{}, err error)
- func (this *TaskLog) AsKV(keyField string, valueField string, inputRows ...[]*TaskLog) map[string]interface{}
- func (this *TaskLog) AsMap() map[string]interface{}
- func (this *TaskLog) AsRow() map[string]interface{}
- func (this *TaskLog) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*TaskLog) map[string][]*TaskLog
- func (this *TaskLog) KeyBy(keyField string, inputRows ...[]*TaskLog) map[string]*TaskLog
- 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) Name_() string
- func (this *TaskLog) New(structName string, connID ...int) factory.Model
- 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) Reset() *TaskLog
- func (this *TaskLog) SetConnID(connID int) factory.Model
- func (this *TaskLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *TaskLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *TaskLog) SetNamer(namer func(string) string) factory.Model
- func (this *TaskLog) SetParam(param *factory.Param) factory.Model
- func (this *TaskLog) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *TaskLog) Short_() string
- func (this *TaskLog) Struct_() string
- 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
- func (this *TaskLog) Validate(field string, value interface{}) error
- type User
- func (this *User) Add() (pk interface{}, err error)
- func (this *User) AsKV(keyField string, valueField string, inputRows ...[]*User) map[string]interface{}
- func (this *User) AsMap() map[string]interface{}
- func (this *User) AsRow() map[string]interface{}
- func (this *User) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*User) map[string][]*User
- func (this *User) KeyBy(keyField string, inputRows ...[]*User) map[string]*User
- 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) Name_() string
- func (this *User) New(structName string, connID ...int) factory.Model
- 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) Reset() *User
- func (this *User) SetConnID(connID int) factory.Model
- func (this *User) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *User) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *User) SetNamer(namer func(string) string) factory.Model
- func (this *User) SetParam(param *factory.Param) factory.Model
- func (this *User) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *User) Short_() string
- func (this *User) Struct_() string
- 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
- func (this *User) Validate(field string, value interface{}) error
- type UserRole
- func (this *UserRole) Add() (pk interface{}, err error)
- func (this *UserRole) AsKV(keyField string, valueField string, inputRows ...[]*UserRole) map[string]interface{}
- func (this *UserRole) AsMap() map[string]interface{}
- func (this *UserRole) AsRow() map[string]interface{}
- func (this *UserRole) BatchValidate(kvset map[string]interface{}) error
- func (this *UserRole) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *UserRole) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *UserRole) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *UserRole) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *UserRole) GroupBy(keyField string, inputRows ...[]*UserRole) map[string][]*UserRole
- func (this *UserRole) KeyBy(keyField string, inputRows ...[]*UserRole) map[string]*UserRole
- func (this *UserRole) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *UserRole) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *UserRole) Name_() string
- func (this *UserRole) New(structName string, connID ...int) factory.Model
- func (this *UserRole) NewObjects() *[]*UserRole
- func (this *UserRole) NewParam() *factory.Param
- func (this *UserRole) Objects() []*UserRole
- func (this *UserRole) Param() *factory.Param
- func (this *UserRole) Reset() *UserRole
- func (this *UserRole) SetConnID(connID int) factory.Model
- func (this *UserRole) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *UserRole) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *UserRole) SetNamer(namer func(string) string) factory.Model
- func (this *UserRole) SetParam(param *factory.Param) factory.Model
- func (this *UserRole) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *UserRole) Short_() string
- func (this *UserRole) Struct_() string
- func (this *UserRole) Trans() *factory.Transaction
- func (this *UserRole) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *UserRole) Use(trans *factory.Transaction) factory.Model
- func (this *UserRole) Validate(field string, value interface{}) error
- type UserU2f
- func (this *UserU2f) Add() (pk interface{}, err error)
- func (this *UserU2f) AsKV(keyField string, valueField string, inputRows ...[]*UserU2f) map[string]interface{}
- func (this *UserU2f) AsMap() map[string]interface{}
- func (this *UserU2f) AsRow() map[string]interface{}
- func (this *UserU2f) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*UserU2f) map[string][]*UserU2f
- func (this *UserU2f) KeyBy(keyField string, inputRows ...[]*UserU2f) map[string]*UserU2f
- 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) Name_() string
- func (this *UserU2f) New(structName string, connID ...int) factory.Model
- 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) Reset() *UserU2f
- func (this *UserU2f) SetConnID(connID int) factory.Model
- func (this *UserU2f) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *UserU2f) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *UserU2f) SetNamer(namer func(string) string) factory.Model
- func (this *UserU2f) SetParam(param *factory.Param) factory.Model
- func (this *UserU2f) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *UserU2f) Short_() string
- func (this *UserU2f) Struct_() string
- 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
- func (this *UserU2f) Validate(field string, value interface{}) error
- type Vhost
- func (this *Vhost) Add() (pk interface{}, err error)
- func (this *Vhost) AsKV(keyField string, valueField string, inputRows ...[]*Vhost) map[string]interface{}
- func (this *Vhost) AsMap() map[string]interface{}
- func (this *Vhost) AsRow() map[string]interface{}
- func (this *Vhost) BatchValidate(kvset map[string]interface{}) 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) GroupBy(keyField string, inputRows ...[]*Vhost) map[string][]*Vhost
- func (this *Vhost) KeyBy(keyField string, inputRows ...[]*Vhost) map[string]*Vhost
- 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) Name_() string
- func (this *Vhost) New(structName string, connID ...int) factory.Model
- 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) Reset() *Vhost
- func (this *Vhost) SetConnID(connID int) factory.Model
- func (this *Vhost) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *Vhost) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *Vhost) SetNamer(namer func(string) string) factory.Model
- func (this *Vhost) SetParam(param *factory.Param) factory.Model
- func (this *Vhost) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *Vhost) Short_() string
- func (this *Vhost) Struct_() string
- 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
- func (this *Vhost) Validate(field string, value interface{}) error
- type VhostGroup
- func (this *VhostGroup) Add() (pk interface{}, err error)
- func (this *VhostGroup) AsKV(keyField string, valueField string, inputRows ...[]*VhostGroup) map[string]interface{}
- func (this *VhostGroup) AsMap() map[string]interface{}
- func (this *VhostGroup) AsRow() map[string]interface{}
- func (this *VhostGroup) BatchValidate(kvset map[string]interface{}) error
- func (this *VhostGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (this *VhostGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *VhostGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *VhostGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (this *VhostGroup) GroupBy(keyField string, inputRows ...[]*VhostGroup) map[string][]*VhostGroup
- func (this *VhostGroup) KeyBy(keyField string, inputRows ...[]*VhostGroup) map[string]*VhostGroup
- func (this *VhostGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (this *VhostGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (this *VhostGroup) Name_() string
- func (this *VhostGroup) New(structName string, connID ...int) factory.Model
- func (this *VhostGroup) NewObjects() *[]*VhostGroup
- func (this *VhostGroup) NewParam() *factory.Param
- func (this *VhostGroup) Objects() []*VhostGroup
- func (this *VhostGroup) Param() *factory.Param
- func (this *VhostGroup) Reset() *VhostGroup
- func (this *VhostGroup) SetConnID(connID int) factory.Model
- func (this *VhostGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) error
- func (this *VhostGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) error
- func (this *VhostGroup) SetNamer(namer func(string) string) factory.Model
- func (this *VhostGroup) SetParam(param *factory.Param) factory.Model
- func (this *VhostGroup) Setter(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (this *VhostGroup) Short_() string
- func (this *VhostGroup) Struct_() string
- func (this *VhostGroup) Trans() *factory.Transaction
- func (this *VhostGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (this *VhostGroup) Use(trans *factory.Transaction) factory.Model
- func (this *VhostGroup) Validate(field string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var WithPrefix = func(tableName string) string {
return "" + tableName
}
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` VhostId uint `db:"vhost_id" bson:"vhost_id" comment:"虚拟主机ID" json:"vhost_id" xml:"vhost_id"` RemoteAddr string `db:"remote_addr" bson:"remote_addr" comment:"IP地址" json:"remote_addr" xml:"remote_addr"` XRealIp string `db:"x_real_ip" bson:"x_real_ip" comment:"IP" json:"x_real_ip" xml:"x_real_ip"` XForwardFor string `db:"x_forward_for" bson:"x_forward_for" comment:"IP" json:"x_forward_for" xml:"x_forward_for"` LocalAddr string `db:"local_addr" bson:"local_addr" comment:"本机地址" json:"local_addr" xml:"local_addr"` Elapsed float64 `db:"elapsed" bson:"elapsed" comment:"耗时(秒)" json:"elapsed" xml:"elapsed"` Host string `db:"host" bson:"host" comment:"Header中的Host, 一般会是域名" json:"host" xml:"host"` User string `db:"user" bson:"user" comment:"用户" json:"user" xml:"user"` TimeLocal string `db:"time_local" bson:"time_local" comment:"本地时间格式" json:"time_local" xml:"time_local"` Minute string `db:"minute" bson:"minute" comment:"H:i" json:"minute" xml:"minute"` Method string `db:"method" bson:"method" comment:"GET POST HEAD OPTIONS PUT DELETE..." json:"method" xml:"method"` Uri string `db:"uri" bson:"uri" comment:"网址" json:"uri" xml:"uri"` Version string `db:"version" bson:"version" comment:"HTTP/1.0, HTTP/1.1 ..." json:"version" xml:"version"` StatusCode uint `db:"status_code" bson:"status_code" comment:"状态码" json:"status_code" xml:"status_code"` BodyBytes uint64 `db:"body_bytes" bson:"body_bytes" comment:"响应body字节数" json:"body_bytes" xml:"body_bytes"` Referer string `db:"referer" bson:"referer" comment:"来源网址" json:"referer" xml:"referer"` UserAgent string `db:"user_agent" bson:"user_agent" comment:"用户代理" json:"user_agent" xml:"user_agent"` HitStatus uint `db:"hit_status" bson:"hit_status" comment:"缓存服务器命中状态" json:"hit_status" xml:"hit_status"` Scheme string `db:"scheme" bson:"scheme" comment:"https/http" json:"scheme" xml:"scheme"` BrowerName string `db:"brower_name" bson:"brower_name" comment:"浏览器名" json:"brower_name" xml:"brower_name"` BrowerType string `db:"brower_type" bson:"brower_type" comment:"浏览器类型(spider/mobile/pc)" json:"brower_type" xml:"brower_type"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` // contains filtered or unexported fields }
func (*AccessLog) BatchValidate ¶
func (*AccessLog) ListByOffset ¶
func (*AccessLog) NewObjects ¶
func (*AccessLog) Trans ¶
func (this *AccessLog) Trans() *factory.Transaction
type CodeInvitation ¶
type CodeInvitation struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` 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"` Code string `db:"code" bson:"code" comment:"邀请码" json:"code" xml:"code"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` 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"` RoleIds string `db:"role_ids" bson:"role_ids" comment:"注册为角色(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"` // contains filtered or unexported fields }
func (*CodeInvitation) Add ¶
func (this *CodeInvitation) Add() (pk interface{}, err error)
func (*CodeInvitation) AsKV ¶
func (this *CodeInvitation) AsKV(keyField string, valueField string, inputRows ...[]*CodeInvitation) map[string]interface{}
func (*CodeInvitation) AsMap ¶
func (this *CodeInvitation) AsMap() map[string]interface{}
func (*CodeInvitation) AsRow ¶
func (this *CodeInvitation) AsRow() map[string]interface{}
func (*CodeInvitation) BatchValidate ¶
func (this *CodeInvitation) BatchValidate(kvset map[string]interface{}) error
func (*CodeInvitation) GroupBy ¶
func (this *CodeInvitation) GroupBy(keyField string, inputRows ...[]*CodeInvitation) map[string][]*CodeInvitation
func (*CodeInvitation) KeyBy ¶
func (this *CodeInvitation) KeyBy(keyField string, inputRows ...[]*CodeInvitation) map[string]*CodeInvitation
func (*CodeInvitation) ListByOffset ¶
func (*CodeInvitation) Name_ ¶
func (this *CodeInvitation) Name_() string
func (*CodeInvitation) New ¶
func (this *CodeInvitation) New(structName string, connID ...int) factory.Model
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) Reset ¶
func (this *CodeInvitation) Reset() *CodeInvitation
func (*CodeInvitation) SetNamer ¶
func (this *CodeInvitation) SetNamer(namer func(string) string) factory.Model
func (*CodeInvitation) SetParam ¶
func (this *CodeInvitation) SetParam(param *factory.Param) factory.Model
func (*CodeInvitation) Short_ ¶
func (this *CodeInvitation) Short_() string
func (*CodeInvitation) Struct_ ¶
func (this *CodeInvitation) Struct_() string
func (*CodeInvitation) Trans ¶
func (this *CodeInvitation) Trans() *factory.Transaction
func (*CodeInvitation) Use ¶
func (this *CodeInvitation) Use(trans *factory.Transaction) factory.Model
func (*CodeInvitation) Validate ¶
func (this *CodeInvitation) Validate(field string, value interface{}) error
type CodeVerification ¶
type CodeVerification struct { Id uint64 `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"` OwnerId uint64 `db:"owner_id" bson:"owner_id" comment:"所有者ID" json:"owner_id" xml:"owner_id"` OwnerType string `db:"owner_type" bson:"owner_type" comment:"所有者类型" json:"owner_type" xml:"owner_type"` 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"` SendMethod string `db:"send_method" bson:"send_method" comment:"发送方式(mobile-手机;email-邮箱)" json:"send_method" xml:"send_method"` SendTo string `db:"send_to" bson:"send_to" comment:"发送目标" json:"send_to" xml:"send_to"` // contains filtered or unexported fields }
func (*CodeVerification) Add ¶
func (this *CodeVerification) Add() (pk interface{}, err error)
func (*CodeVerification) AsKV ¶
func (this *CodeVerification) AsKV(keyField string, valueField string, inputRows ...[]*CodeVerification) map[string]interface{}
func (*CodeVerification) AsMap ¶
func (this *CodeVerification) AsMap() map[string]interface{}
func (*CodeVerification) AsRow ¶
func (this *CodeVerification) AsRow() map[string]interface{}
func (*CodeVerification) BatchValidate ¶
func (this *CodeVerification) BatchValidate(kvset map[string]interface{}) error
func (*CodeVerification) GroupBy ¶
func (this *CodeVerification) GroupBy(keyField string, inputRows ...[]*CodeVerification) map[string][]*CodeVerification
func (*CodeVerification) KeyBy ¶
func (this *CodeVerification) KeyBy(keyField string, inputRows ...[]*CodeVerification) map[string]*CodeVerification
func (*CodeVerification) ListByOffset ¶
func (*CodeVerification) Name_ ¶
func (this *CodeVerification) Name_() string
func (*CodeVerification) New ¶
func (this *CodeVerification) New(structName string, connID ...int) factory.Model
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) Reset ¶
func (this *CodeVerification) Reset() *CodeVerification
func (*CodeVerification) SetConnID ¶
func (this *CodeVerification) SetConnID(connID int) factory.Model
func (*CodeVerification) SetNamer ¶
func (this *CodeVerification) SetNamer(namer func(string) string) factory.Model
func (*CodeVerification) SetParam ¶
func (this *CodeVerification) SetParam(param *factory.Param) factory.Model
func (*CodeVerification) Short_ ¶
func (this *CodeVerification) Short_() string
func (*CodeVerification) Struct_ ¶
func (this *CodeVerification) Struct_() string
func (*CodeVerification) Trans ¶
func (this *CodeVerification) Trans() *factory.Transaction
func (*CodeVerification) Use ¶
func (this *CodeVerification) Use(trans *factory.Transaction) factory.Model
func (*CodeVerification) Validate ¶
func (this *CodeVerification) Validate(field string, value interface{}) error
type CollectorExport ¶
type CollectorExport struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` PageRoot uint `db:"page_root" bson:"page_root" comment:"根页面ID" json:"page_root" xml:"page_root"` PageId uint `db:"page_id" bson:"page_id" comment:"页面ID" json:"page_id" xml:"page_id"` GroupId uint `db:"group_id" bson:"group_id" comment:"组ID" json:"group_id" xml:"group_id"` Mapping string `db:"mapping" bson:"mapping" comment:"字段映射" json:"mapping" xml:"mapping"` Dest string `db:"dest" bson:"dest" comment:"目标" json:"dest" xml:"dest"` DestType string `db:"dest_type" bson:"dest_type" comment:"目标类型" json:"dest_type" xml:"dest_type"` 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"` Exported uint `db:"exported" bson:"exported" comment:"最近导出时间" json:"exported" xml:"exported"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` // contains filtered or unexported fields }
func (*CollectorExport) Add ¶
func (this *CollectorExport) Add() (pk interface{}, err error)
func (*CollectorExport) AsKV ¶
func (this *CollectorExport) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExport) map[string]interface{}
func (*CollectorExport) AsMap ¶
func (this *CollectorExport) AsMap() map[string]interface{}
func (*CollectorExport) AsRow ¶
func (this *CollectorExport) AsRow() map[string]interface{}
func (*CollectorExport) BatchValidate ¶
func (this *CollectorExport) BatchValidate(kvset map[string]interface{}) error
func (*CollectorExport) GroupBy ¶
func (this *CollectorExport) GroupBy(keyField string, inputRows ...[]*CollectorExport) map[string][]*CollectorExport
func (*CollectorExport) KeyBy ¶
func (this *CollectorExport) KeyBy(keyField string, inputRows ...[]*CollectorExport) map[string]*CollectorExport
func (*CollectorExport) ListByOffset ¶
func (*CollectorExport) Name_ ¶
func (this *CollectorExport) Name_() string
func (*CollectorExport) New ¶
func (this *CollectorExport) New(structName string, connID ...int) factory.Model
func (*CollectorExport) NewObjects ¶
func (this *CollectorExport) NewObjects() *[]*CollectorExport
func (*CollectorExport) NewParam ¶
func (this *CollectorExport) NewParam() *factory.Param
func (*CollectorExport) Objects ¶
func (this *CollectorExport) Objects() []*CollectorExport
func (*CollectorExport) Param ¶
func (this *CollectorExport) Param() *factory.Param
func (*CollectorExport) Reset ¶
func (this *CollectorExport) Reset() *CollectorExport
func (*CollectorExport) SetConnID ¶
func (this *CollectorExport) SetConnID(connID int) factory.Model
func (*CollectorExport) SetNamer ¶
func (this *CollectorExport) SetNamer(namer func(string) string) factory.Model
func (*CollectorExport) SetParam ¶
func (this *CollectorExport) SetParam(param *factory.Param) factory.Model
func (*CollectorExport) Short_ ¶
func (this *CollectorExport) Short_() string
func (*CollectorExport) Struct_ ¶
func (this *CollectorExport) Struct_() string
func (*CollectorExport) Trans ¶
func (this *CollectorExport) Trans() *factory.Transaction
func (*CollectorExport) Use ¶
func (this *CollectorExport) Use(trans *factory.Transaction) factory.Model
func (*CollectorExport) Validate ¶
func (this *CollectorExport) Validate(field string, value interface{}) error
type CollectorExportLog ¶
type CollectorExportLog struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` PageId uint `db:"page_id" bson:"page_id" comment:"页面规则ID" json:"page_id" xml:"page_id"` ExportId uint `db:"export_id" bson:"export_id" comment:"导出方案ID" json:"export_id" xml:"export_id"` Result string `db:"result" bson:"result" comment:"结果" json:"result" xml:"result"` Status string `db:"status" bson:"status" comment:"状态" json:"status" xml:"status"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` // contains filtered or unexported fields }
func (*CollectorExportLog) Add ¶
func (this *CollectorExportLog) Add() (pk interface{}, err error)
func (*CollectorExportLog) AsKV ¶
func (this *CollectorExportLog) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExportLog) map[string]interface{}
func (*CollectorExportLog) AsMap ¶
func (this *CollectorExportLog) AsMap() map[string]interface{}
func (*CollectorExportLog) AsRow ¶
func (this *CollectorExportLog) AsRow() map[string]interface{}
func (*CollectorExportLog) BatchValidate ¶
func (this *CollectorExportLog) BatchValidate(kvset map[string]interface{}) error
func (*CollectorExportLog) GroupBy ¶
func (this *CollectorExportLog) GroupBy(keyField string, inputRows ...[]*CollectorExportLog) map[string][]*CollectorExportLog
func (*CollectorExportLog) KeyBy ¶
func (this *CollectorExportLog) KeyBy(keyField string, inputRows ...[]*CollectorExportLog) map[string]*CollectorExportLog
func (*CollectorExportLog) ListByOffset ¶
func (*CollectorExportLog) Name_ ¶
func (this *CollectorExportLog) Name_() string
func (*CollectorExportLog) New ¶
func (this *CollectorExportLog) New(structName string, connID ...int) factory.Model
func (*CollectorExportLog) NewObjects ¶
func (this *CollectorExportLog) NewObjects() *[]*CollectorExportLog
func (*CollectorExportLog) NewParam ¶
func (this *CollectorExportLog) NewParam() *factory.Param
func (*CollectorExportLog) Objects ¶
func (this *CollectorExportLog) Objects() []*CollectorExportLog
func (*CollectorExportLog) Param ¶
func (this *CollectorExportLog) Param() *factory.Param
func (*CollectorExportLog) Reset ¶
func (this *CollectorExportLog) Reset() *CollectorExportLog
func (*CollectorExportLog) SetConnID ¶
func (this *CollectorExportLog) SetConnID(connID int) factory.Model
func (*CollectorExportLog) SetNamer ¶
func (this *CollectorExportLog) SetNamer(namer func(string) string) factory.Model
func (*CollectorExportLog) SetParam ¶
func (this *CollectorExportLog) SetParam(param *factory.Param) factory.Model
func (*CollectorExportLog) Short_ ¶
func (this *CollectorExportLog) Short_() string
func (*CollectorExportLog) Struct_ ¶
func (this *CollectorExportLog) Struct_() string
func (*CollectorExportLog) Trans ¶
func (this *CollectorExportLog) Trans() *factory.Transaction
func (*CollectorExportLog) Use ¶
func (this *CollectorExportLog) Use(trans *factory.Transaction) factory.Model
func (*CollectorExportLog) Validate ¶
func (this *CollectorExportLog) Validate(field string, value interface{}) error
type CollectorGroup ¶
type CollectorGroup struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" 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"` Type string `db:"type" bson:"type" comment:"类型(page-页面规则组;export-导出规则组)" json:"type" xml:"type"` 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 (*CollectorGroup) Add ¶
func (this *CollectorGroup) Add() (pk interface{}, err error)
func (*CollectorGroup) AsKV ¶
func (this *CollectorGroup) AsKV(keyField string, valueField string, inputRows ...[]*CollectorGroup) map[string]interface{}
func (*CollectorGroup) AsMap ¶
func (this *CollectorGroup) AsMap() map[string]interface{}
func (*CollectorGroup) AsRow ¶
func (this *CollectorGroup) AsRow() map[string]interface{}
func (*CollectorGroup) BatchValidate ¶
func (this *CollectorGroup) BatchValidate(kvset map[string]interface{}) error
func (*CollectorGroup) GroupBy ¶
func (this *CollectorGroup) GroupBy(keyField string, inputRows ...[]*CollectorGroup) map[string][]*CollectorGroup
func (*CollectorGroup) KeyBy ¶
func (this *CollectorGroup) KeyBy(keyField string, inputRows ...[]*CollectorGroup) map[string]*CollectorGroup
func (*CollectorGroup) ListByOffset ¶
func (*CollectorGroup) Name_ ¶
func (this *CollectorGroup) Name_() string
func (*CollectorGroup) New ¶
func (this *CollectorGroup) New(structName string, connID ...int) factory.Model
func (*CollectorGroup) NewObjects ¶
func (this *CollectorGroup) NewObjects() *[]*CollectorGroup
func (*CollectorGroup) NewParam ¶
func (this *CollectorGroup) NewParam() *factory.Param
func (*CollectorGroup) Objects ¶
func (this *CollectorGroup) Objects() []*CollectorGroup
func (*CollectorGroup) Param ¶
func (this *CollectorGroup) Param() *factory.Param
func (*CollectorGroup) Reset ¶
func (this *CollectorGroup) Reset() *CollectorGroup
func (*CollectorGroup) SetNamer ¶
func (this *CollectorGroup) SetNamer(namer func(string) string) factory.Model
func (*CollectorGroup) SetParam ¶
func (this *CollectorGroup) SetParam(param *factory.Param) factory.Model
func (*CollectorGroup) Short_ ¶
func (this *CollectorGroup) Short_() string
func (*CollectorGroup) Struct_ ¶
func (this *CollectorGroup) Struct_() string
func (*CollectorGroup) Trans ¶
func (this *CollectorGroup) Trans() *factory.Transaction
func (*CollectorGroup) Use ¶
func (this *CollectorGroup) Use(trans *factory.Transaction) factory.Model
func (*CollectorGroup) Validate ¶
func (this *CollectorGroup) Validate(field string, value interface{}) error
type CollectorHistory ¶
type CollectorHistory struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` ParentId uint64 `db:"parent_id" bson:"parent_id" comment:"父ID" json:"parent_id" xml:"parent_id"` PageId uint `db:"page_id" bson:"page_id" comment:"页面ID" json:"page_id" xml:"page_id"` PageParentId uint `db:"page_parent_id" bson:"page_parent_id" comment:"父页面ID" json:"page_parent_id" xml:"page_parent_id"` PageRootId uint `db:"page_root_id" bson:"page_root_id" comment:"入口页面ID" json:"page_root_id" xml:"page_root_id"` HasChild string `db:"has_child" bson:"has_child" comment:"是否有子级" json:"has_child" xml:"has_child"` Url string `db:"url" bson:"url" comment:"页面网址" json:"url" xml:"url"` UrlMd5 string `db:"url_md5" bson:"url_md5" comment:"页面网址MD5" json:"url_md5" xml:"url_md5"` Title string `db:"title" bson:"title" comment:"页面标题" json:"title" xml:"title"` Content string `db:"content" bson:"content" comment:"页面内容MD5" json:"content" xml:"content"` RuleMd5 string `db:"rule_md5" bson:"rule_md5" comment:"规则标识MD5" json:"rule_md5" xml:"rule_md5"` Data string `db:"data" bson:"data" comment:"采集到的数据" json:"data" xml:"data"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Exported uint `db:"exported" bson:"exported" comment:"最近导出时间" json:"exported" xml:"exported"` // contains filtered or unexported fields }
func (*CollectorHistory) Add ¶
func (this *CollectorHistory) Add() (pk interface{}, err error)
func (*CollectorHistory) AsKV ¶
func (this *CollectorHistory) AsKV(keyField string, valueField string, inputRows ...[]*CollectorHistory) map[string]interface{}
func (*CollectorHistory) AsMap ¶
func (this *CollectorHistory) AsMap() map[string]interface{}
func (*CollectorHistory) AsRow ¶
func (this *CollectorHistory) AsRow() map[string]interface{}
func (*CollectorHistory) BatchValidate ¶
func (this *CollectorHistory) BatchValidate(kvset map[string]interface{}) error
func (*CollectorHistory) GroupBy ¶
func (this *CollectorHistory) GroupBy(keyField string, inputRows ...[]*CollectorHistory) map[string][]*CollectorHistory
func (*CollectorHistory) KeyBy ¶
func (this *CollectorHistory) KeyBy(keyField string, inputRows ...[]*CollectorHistory) map[string]*CollectorHistory
func (*CollectorHistory) ListByOffset ¶
func (*CollectorHistory) Name_ ¶
func (this *CollectorHistory) Name_() string
func (*CollectorHistory) New ¶
func (this *CollectorHistory) New(structName string, connID ...int) factory.Model
func (*CollectorHistory) NewObjects ¶
func (this *CollectorHistory) NewObjects() *[]*CollectorHistory
func (*CollectorHistory) NewParam ¶
func (this *CollectorHistory) NewParam() *factory.Param
func (*CollectorHistory) Objects ¶
func (this *CollectorHistory) Objects() []*CollectorHistory
func (*CollectorHistory) Param ¶
func (this *CollectorHistory) Param() *factory.Param
func (*CollectorHistory) Reset ¶
func (this *CollectorHistory) Reset() *CollectorHistory
func (*CollectorHistory) SetConnID ¶
func (this *CollectorHistory) SetConnID(connID int) factory.Model
func (*CollectorHistory) SetNamer ¶
func (this *CollectorHistory) SetNamer(namer func(string) string) factory.Model
func (*CollectorHistory) SetParam ¶
func (this *CollectorHistory) SetParam(param *factory.Param) factory.Model
func (*CollectorHistory) Short_ ¶
func (this *CollectorHistory) Short_() string
func (*CollectorHistory) Struct_ ¶
func (this *CollectorHistory) Struct_() string
func (*CollectorHistory) Trans ¶
func (this *CollectorHistory) Trans() *factory.Transaction
func (*CollectorHistory) Use ¶
func (this *CollectorHistory) Use(trans *factory.Transaction) factory.Model
func (*CollectorHistory) Validate ¶
func (this *CollectorHistory) Validate(field string, value interface{}) error
type CollectorPage ¶
type CollectorPage struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` ParentId uint `db:"parent_id" bson:"parent_id" comment:"父级规则" json:"parent_id" xml:"parent_id"` RootId uint `db:"root_id" bson:"root_id" comment:"根页面ID" json:"root_id" xml:"root_id"` HasChild string `db:"has_child" bson:"has_child" comment:"是否有子级" json:"has_child" xml:"has_child"` Uid uint `db:"uid" bson:"uid" comment:"用户ID" json:"uid" xml:"uid"` GroupId uint `db:"group_id" bson:"group_id" comment:"规则组" json:"group_id" xml:"group_id"` Name string `db:"name" bson:"name" comment:"规则名" json:"name" xml:"name"` Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"` EnterUrl string `db:"enter_url" bson:"enter_url" comment:"入口网址模板(网址一行一个)" json:"enter_url" xml:"enter_url"` Sort int `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Browser string `db:"browser" bson:"browser" comment:"浏览器" json:"browser" xml:"browser"` Type string `db:"type" bson:"type" comment:"页面类型" json:"type" xml:"type"` ScopeRule string `db:"scope_rule" bson:"scope_rule" comment:"页面区域规则" json:"scope_rule" xml:"scope_rule"` DuplicateRule string `` /* 209-byte string literal not displayed */ ContentType string `db:"content_type" bson:"content_type" comment:"内容类型" json:"content_type" xml:"content_type"` Charset string `db:"charset" bson:"charset" comment:"字符集" json:"charset" xml:"charset"` Timeout uint `db:"timeout" bson:"timeout" comment:"超时时间(秒)" json:"timeout" xml:"timeout"` Waits string `db:"waits" bson:"waits" comment:"等待时间范围(秒),例如2-8" json:"waits" xml:"waits"` Proxy string `db:"proxy" bson:"proxy" comment:"代理地址" json:"proxy" xml:"proxy"` // contains filtered or unexported fields }
func (*CollectorPage) Add ¶
func (this *CollectorPage) Add() (pk interface{}, err error)
func (*CollectorPage) AsKV ¶
func (this *CollectorPage) AsKV(keyField string, valueField string, inputRows ...[]*CollectorPage) map[string]interface{}
func (*CollectorPage) AsMap ¶
func (this *CollectorPage) AsMap() map[string]interface{}
func (*CollectorPage) AsRow ¶
func (this *CollectorPage) AsRow() map[string]interface{}
func (*CollectorPage) BatchValidate ¶
func (this *CollectorPage) BatchValidate(kvset map[string]interface{}) error
func (*CollectorPage) GroupBy ¶
func (this *CollectorPage) GroupBy(keyField string, inputRows ...[]*CollectorPage) map[string][]*CollectorPage
func (*CollectorPage) KeyBy ¶
func (this *CollectorPage) KeyBy(keyField string, inputRows ...[]*CollectorPage) map[string]*CollectorPage
func (*CollectorPage) ListByOffset ¶
func (*CollectorPage) Name_ ¶
func (this *CollectorPage) Name_() string
func (*CollectorPage) New ¶
func (this *CollectorPage) New(structName string, connID ...int) factory.Model
func (*CollectorPage) NewObjects ¶
func (this *CollectorPage) NewObjects() *[]*CollectorPage
func (*CollectorPage) NewParam ¶
func (this *CollectorPage) NewParam() *factory.Param
func (*CollectorPage) Objects ¶
func (this *CollectorPage) Objects() []*CollectorPage
func (*CollectorPage) Param ¶
func (this *CollectorPage) Param() *factory.Param
func (*CollectorPage) Reset ¶
func (this *CollectorPage) Reset() *CollectorPage
func (*CollectorPage) SetNamer ¶
func (this *CollectorPage) SetNamer(namer func(string) string) factory.Model
func (*CollectorPage) SetParam ¶
func (this *CollectorPage) SetParam(param *factory.Param) factory.Model
func (*CollectorPage) Short_ ¶
func (this *CollectorPage) Short_() string
func (*CollectorPage) Struct_ ¶
func (this *CollectorPage) Struct_() string
func (*CollectorPage) Trans ¶
func (this *CollectorPage) Trans() *factory.Transaction
func (*CollectorPage) Use ¶
func (this *CollectorPage) Use(trans *factory.Transaction) factory.Model
func (*CollectorPage) Validate ¶
func (this *CollectorPage) Validate(field string, value interface{}) error
type CollectorRule ¶
type CollectorRule struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` PageId uint `db:"page_id" bson:"page_id" comment:"页面ID" json:"page_id" xml:"page_id"` Name string `db:"name" bson:"name" comment:"保存匹配结果的变量名" json:"name" xml:"name"` Rule string `db:"rule" bson:"rule" comment:"规则" json:"rule" xml:"rule"` Type string `db:"type" bson:"type" comment:"数据类型" json:"type" xml:"type"` Filter string `db:"filter" bson:"filter" comment:"过滤器" json:"filter" xml:"filter"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Sort int `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"` // contains filtered or unexported fields }
func (*CollectorRule) Add ¶
func (this *CollectorRule) Add() (pk interface{}, err error)
func (*CollectorRule) AsKV ¶
func (this *CollectorRule) AsKV(keyField string, valueField string, inputRows ...[]*CollectorRule) map[string]interface{}
func (*CollectorRule) AsMap ¶
func (this *CollectorRule) AsMap() map[string]interface{}
func (*CollectorRule) AsRow ¶
func (this *CollectorRule) AsRow() map[string]interface{}
func (*CollectorRule) BatchValidate ¶
func (this *CollectorRule) BatchValidate(kvset map[string]interface{}) error
func (*CollectorRule) GroupBy ¶
func (this *CollectorRule) GroupBy(keyField string, inputRows ...[]*CollectorRule) map[string][]*CollectorRule
func (*CollectorRule) KeyBy ¶
func (this *CollectorRule) KeyBy(keyField string, inputRows ...[]*CollectorRule) map[string]*CollectorRule
func (*CollectorRule) ListByOffset ¶
func (*CollectorRule) Name_ ¶
func (this *CollectorRule) Name_() string
func (*CollectorRule) New ¶
func (this *CollectorRule) New(structName string, connID ...int) factory.Model
func (*CollectorRule) NewObjects ¶
func (this *CollectorRule) NewObjects() *[]*CollectorRule
func (*CollectorRule) NewParam ¶
func (this *CollectorRule) NewParam() *factory.Param
func (*CollectorRule) Objects ¶
func (this *CollectorRule) Objects() []*CollectorRule
func (*CollectorRule) Param ¶
func (this *CollectorRule) Param() *factory.Param
func (*CollectorRule) Reset ¶
func (this *CollectorRule) Reset() *CollectorRule
func (*CollectorRule) SetNamer ¶
func (this *CollectorRule) SetNamer(namer func(string) string) factory.Model
func (*CollectorRule) SetParam ¶
func (this *CollectorRule) SetParam(param *factory.Param) factory.Model
func (*CollectorRule) Short_ ¶
func (this *CollectorRule) Short_() string
func (*CollectorRule) Struct_ ¶
func (this *CollectorRule) Struct_() string
func (*CollectorRule) Trans ¶
func (this *CollectorRule) Trans() *factory.Transaction
func (*CollectorRule) Use ¶
func (this *CollectorRule) Use(trans *factory.Transaction) factory.Model
func (*CollectorRule) Validate ¶
func (this *CollectorRule) Validate(field string, value interface{}) error
type Command ¶
type Command struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Name string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"` Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"` Command string `db:"command" bson:"command" comment:"命令" json:"command" xml:"command"` WorkDirectory string `db:"work_directory" bson:"work_directory" comment:"工作目录" json:"work_directory" xml:"work_directory"` Env string `db:"env" bson:"env" comment:"环境变量(一行一个,格式为:var1=val1)" json:"env" xml:"env"` 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"` Remote string `db:"remote" bson:"remote" comment:"是否执行远程SSH命令" json:"remote" xml:"remote"` SshAccountId uint `db:"ssh_account_id" bson:"ssh_account_id" comment:"SSH账号ID" json:"ssh_account_id" xml:"ssh_account_id"` // contains filtered or unexported fields }
func (*Command) BatchValidate ¶
func (*Command) ListByOffset ¶
func (*Command) NewObjects ¶
func (*Command) Trans ¶
func (this *Command) Trans() *factory.Transaction
type Config ¶
type Config struct { Key string `db:"key,pk" bson:"key" comment:"键" json:"key" xml:"key"` Label string `db:"label" bson:"label" comment:"选项名称" json:"label" xml:"label"` Description string `db:"description" bson:"description" comment:"简介" json:"description" xml:"description"` Value string `db:"value" bson:"value" comment:"值" json:"value" xml:"value"` Group string `db:"group,pk" bson:"group" comment:"组" json:"group" xml:"group"` Type string `db:"type" bson:"type" comment:"值类型(list-以半角逗号分隔的值列表)" json:"type" xml:"type"` Sort int `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` Encrypted string `db:"encrypted" bson:"encrypted" comment:"是否加密" json:"encrypted" xml:"encrypted"` // contains filtered or unexported fields }
func (*Config) BatchValidate ¶
func (*Config) ListByOffset ¶
func (*Config) NewObjects ¶
func (*Config) Trans ¶
func (this *Config) Trans() *factory.Transaction
type DbAccount ¶ added in v1.3.0
type DbAccount struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Title string `db:"title" bson:"title" comment:"标题" json:"title" xml:"title"` Uid uint `db:"uid" bson:"uid" comment:"UID" json:"uid" xml:"uid"` Engine string `db:"engine" bson:"engine" comment:"数据库引擎" json:"engine" xml:"engine"` Host string `db:"host" bson:"host" comment:"服务器地址" json:"host" xml:"host"` User string `db:"user" bson:"user" comment:"用户名" json:"user" xml:"user"` Password string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"` Name string `db:"name" bson:"name" comment:"数据库名称" json:"name" xml:"name"` Options string `db:"options" bson:"options" comment:"其它选项(JSON)" json:"options" xml:"options"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*DbAccount) BatchValidate ¶
func (*DbAccount) ListByOffset ¶ added in v1.3.0
func (*DbAccount) NewObjects ¶ added in v1.3.0
func (*DbAccount) Trans ¶ added in v1.3.0
func (this *DbAccount) Trans() *factory.Transaction
type DbSync ¶
type DbSync struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` DsnSource string `db:"dsn_source" bson:"dsn_source" comment:"同步源" json:"dsn_source" xml:"dsn_source"` DsnDestination string `db:"dsn_destination" bson:"dsn_destination" comment:"目标数据库" json:"dsn_destination" xml:"dsn_destination"` Tables string `db:"tables" bson:"tables" comment:"要同步的表" json:"tables" xml:"tables"` SkipTables string `db:"skip_tables" bson:"skip_tables" comment:"要跳过的表" json:"skip_tables" xml:"skip_tables"` AlterIgnore string `db:"alter_ignore" bson:"alter_ignore" comment:"要忽略的列、索引、外键" json:"alter_ignore" xml:"alter_ignore"` Drop uint `db:"drop" bson:"drop" comment:"删除待同步数据库中多余的字段、索引、外键 " json:"drop" xml:"drop"` MailTo string `db:"mail_to" bson:"mail_to" comment:"发送邮件" json:"mail_to" xml:"mail_to"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated int `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*DbSync) BatchValidate ¶
func (*DbSync) ListByOffset ¶
func (*DbSync) NewObjects ¶
func (*DbSync) Trans ¶
func (this *DbSync) Trans() *factory.Transaction
type DbSyncLog ¶
type DbSyncLog struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` SyncId uint `db:"sync_id" bson:"sync_id" comment:"同步方案ID" json:"sync_id" xml:"sync_id"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Result string `db:"result" bson:"result" comment:"结果报表" json:"result" xml:"result"` ChangeTables string `db:"change_tables" bson:"change_tables" comment:"被更改的表" json:"change_tables" xml:"change_tables"` ChangeTableNum uint `` /* 127-byte string literal not displayed */ Elapsed uint64 `db:"elapsed" bson:"elapsed" comment:"总共耗时" json:"elapsed" xml:"elapsed"` Failed uint `db:"failed" bson:"failed" comment:"失败次数" json:"failed" xml:"failed"` // contains filtered or unexported fields }
func (*DbSyncLog) BatchValidate ¶
func (*DbSyncLog) ListByOffset ¶
func (*DbSyncLog) NewObjects ¶
func (*DbSyncLog) Trans ¶
func (this *DbSyncLog) Trans() *factory.Transaction
type ForeverProcess ¶
type ForeverProcess struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" 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"` Command string `db:"command" bson:"command" comment:"命令" json:"command" xml:"command"` Workdir string `db:"workdir" bson:"workdir" comment:"工作目录" json:"workdir" xml:"workdir"` Env string `db:"env" bson:"env" comment:"环境变量" json:"env" xml:"env"` Args string `db:"args" bson:"args" comment:"命令参数" json:"args" xml:"args"` Pidfile string `db:"pidfile" bson:"pidfile" comment:"PID记录文件" json:"pidfile" xml:"pidfile"` Logfile string `db:"logfile" bson:"logfile" comment:"日志记录文件" json:"logfile" xml:"logfile"` Errfile string `db:"errfile" bson:"errfile" comment:"错误记录文件" json:"errfile" xml:"errfile"` Respawn uint `db:"respawn" bson:"respawn" comment:"重试次数(进程被外部程序结束后自动启动)" json:"respawn" xml:"respawn"` Delay string `db:"delay" bson:"delay" comment:"延迟启动(例如1ms/1s/1m/1h)" json:"delay" xml:"delay"` Ping string `db:"ping" bson:"ping" comment:"心跳时间(例如1ms/1s/1m/1h)" json:"ping" xml:"ping"` Pid int `db:"pid" bson:"pid" comment:"PID" json:"pid" xml:"pid"` Status string `db:"status" bson:"status" comment:"进程运行状态" json:"status" xml:"status"` Debug string `db:"debug" bson:"debug" comment:"DEBUG" json:"debug" xml:"debug"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` Error string `db:"error" bson:"error" comment:"错误信息" json:"error" xml:"error"` Lastrun uint `db:"lastrun" bson:"lastrun" comment:"上次运行时间" json:"lastrun" xml:"lastrun"` Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"` 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"` // contains filtered or unexported fields }
func (*ForeverProcess) Add ¶
func (this *ForeverProcess) Add() (pk interface{}, err error)
func (*ForeverProcess) AsKV ¶
func (this *ForeverProcess) AsKV(keyField string, valueField string, inputRows ...[]*ForeverProcess) map[string]interface{}
func (*ForeverProcess) AsMap ¶
func (this *ForeverProcess) AsMap() map[string]interface{}
func (*ForeverProcess) AsRow ¶
func (this *ForeverProcess) AsRow() map[string]interface{}
func (*ForeverProcess) BatchValidate ¶
func (this *ForeverProcess) BatchValidate(kvset map[string]interface{}) error
func (*ForeverProcess) GroupBy ¶
func (this *ForeverProcess) GroupBy(keyField string, inputRows ...[]*ForeverProcess) map[string][]*ForeverProcess
func (*ForeverProcess) KeyBy ¶
func (this *ForeverProcess) KeyBy(keyField string, inputRows ...[]*ForeverProcess) map[string]*ForeverProcess
func (*ForeverProcess) ListByOffset ¶
func (*ForeverProcess) Name_ ¶
func (this *ForeverProcess) Name_() string
func (*ForeverProcess) New ¶
func (this *ForeverProcess) New(structName string, connID ...int) factory.Model
func (*ForeverProcess) NewObjects ¶
func (this *ForeverProcess) NewObjects() *[]*ForeverProcess
func (*ForeverProcess) NewParam ¶
func (this *ForeverProcess) NewParam() *factory.Param
func (*ForeverProcess) Objects ¶
func (this *ForeverProcess) Objects() []*ForeverProcess
func (*ForeverProcess) Param ¶
func (this *ForeverProcess) Param() *factory.Param
func (*ForeverProcess) Reset ¶
func (this *ForeverProcess) Reset() *ForeverProcess
func (*ForeverProcess) SetNamer ¶
func (this *ForeverProcess) SetNamer(namer func(string) string) factory.Model
func (*ForeverProcess) SetParam ¶
func (this *ForeverProcess) SetParam(param *factory.Param) factory.Model
func (*ForeverProcess) Short_ ¶
func (this *ForeverProcess) Short_() string
func (*ForeverProcess) Struct_ ¶
func (this *ForeverProcess) Struct_() string
func (*ForeverProcess) Trans ¶
func (this *ForeverProcess) Trans() *factory.Transaction
func (*ForeverProcess) Use ¶
func (this *ForeverProcess) Use(trans *factory.Transaction) factory.Model
func (*ForeverProcess) Validate ¶
func (this *ForeverProcess) Validate(field string, value interface{}) error
type FrpClient ¶
type FrpClient struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Name string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` ServerAddr string `db:"server_addr" bson:"server_addr" comment:"" json:"server_addr" xml:"server_addr"` ServerPort uint `db:"server_port" bson:"server_port" comment:"" json:"server_port" xml:"server_port"` HttpProxy string `db:"http_proxy" bson:"http_proxy" comment:"" json:"http_proxy" xml:"http_proxy"` PoolCount uint `db:"pool_count" bson:"pool_count" comment:"" json:"pool_count" xml:"pool_count"` TcpMux string `db:"tcp_mux" bson:"tcp_mux" comment:"必须跟服务端一致" json:"tcp_mux" xml:"tcp_mux"` User string `db:"user" bson:"user" comment:"" json:"user" xml:"user"` DnsServer string `db:"dns_server" bson:"dns_server" comment:"" json:"dns_server" xml:"dns_server"` LoginFailExit string `db:"login_fail_exit" bson:"login_fail_exit" comment:"" json:"login_fail_exit" xml:"login_fail_exit"` Protocol string `db:"protocol" bson:"protocol" comment:"tcp or kcp" json:"protocol" xml:"protocol"` HeartbeatInterval int64 `db:"heartbeat_interval" bson:"heartbeat_interval" comment:"" json:"heartbeat_interval" xml:"heartbeat_interval"` HeartbeatTimeout int64 `db:"heartbeat_timeout" bson:"heartbeat_timeout" comment:"" json:"heartbeat_timeout" xml:"heartbeat_timeout"` LogFile string `db:"log_file" bson:"log_file" comment:"" json:"log_file" xml:"log_file"` LogWay string `db:"log_way" bson:"log_way" comment:"console or file" json:"log_way" xml:"log_way"` LogLevel string `db:"log_level" bson:"log_level" comment:"" json:"log_level" xml:"log_level"` LogMaxDays uint `db:"log_max_days" bson:"log_max_days" comment:"" json:"log_max_days" xml:"log_max_days"` Token string `db:"token" bson:"token" comment:"" json:"token" xml:"token"` AdminAddr string `db:"admin_addr" bson:"admin_addr" comment:"" json:"admin_addr" xml:"admin_addr"` AdminPort uint `db:"admin_port" bson:"admin_port" comment:"" json:"admin_port" xml:"admin_port"` AdminUser string `db:"admin_user" bson:"admin_user" comment:"" json:"admin_user" xml:"admin_user"` AdminPwd string `db:"admin_pwd" bson:"admin_pwd" comment:"" json:"admin_pwd" xml:"admin_pwd"` Start string `` /* 140-byte string literal not displayed */ Extra string `db:"extra" bson:"extra" comment:"" json:"extra" xml:"extra"` Uid uint `db:"uid" bson:"uid" comment:"" json:"uid" xml:"uid"` GroupId uint `db:"group_id" bson:"group_id" comment:"" json:"group_id" xml:"group_id"` Type string `db:"type" bson:"type" comment:"" json:"type" xml:"type"` Created uint `db:"created" bson:"created" comment:"" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*FrpClient) BatchValidate ¶
func (*FrpClient) ListByOffset ¶
func (*FrpClient) NewObjects ¶
func (*FrpClient) Trans ¶
func (this *FrpClient) Trans() *factory.Transaction
type FrpGroup ¶
type FrpGroup 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"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*FrpGroup) BatchValidate ¶
func (*FrpGroup) ListByOffset ¶
func (*FrpGroup) NewObjects ¶
func (*FrpGroup) Trans ¶
func (this *FrpGroup) Trans() *factory.Transaction
type FrpServer ¶
type FrpServer struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Name string `db:"name" bson:"name" comment:"名称" json:"name" xml:"name"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` TcpMux string `db:"tcp_mux" bson:"tcp_mux" comment:"" json:"tcp_mux" xml:"tcp_mux"` Addr string `db:"addr" bson:"addr" comment:"" json:"addr" xml:"addr"` Port uint `db:"port" bson:"port" comment:"" json:"port" xml:"port"` UdpPort uint `db:"udp_port" bson:"udp_port" comment:"" json:"udp_port" xml:"udp_port"` KcpPort uint `db:"kcp_port" bson:"kcp_port" comment:"" json:"kcp_port" xml:"kcp_port"` ProxyAddr string `db:"proxy_addr" bson:"proxy_addr" comment:"" json:"proxy_addr" xml:"proxy_addr"` VhostHttpPort uint `db:"vhost_http_port" bson:"vhost_http_port" comment:"" json:"vhost_http_port" xml:"vhost_http_port"` VhostHttpTimeout uint64 `db:"vhost_http_timeout" bson:"vhost_http_timeout" comment:"" json:"vhost_http_timeout" xml:"vhost_http_timeout"` VhostHttpsPort uint `db:"vhost_https_port" bson:"vhost_https_port" comment:"" json:"vhost_https_port" xml:"vhost_https_port"` LogFile string `db:"log_file" bson:"log_file" comment:"" json:"log_file" xml:"log_file"` LogWay string `db:"log_way" bson:"log_way" comment:"console or file" json:"log_way" xml:"log_way"` LogLevel string `db:"log_level" bson:"log_level" comment:"" json:"log_level" xml:"log_level"` LogMaxDays uint `db:"log_max_days" bson:"log_max_days" comment:"" json:"log_max_days" xml:"log_max_days"` Token string `db:"token" bson:"token" comment:"" json:"token" xml:"token"` AuthTimeout uint64 `db:"auth_timeout" bson:"auth_timeout" comment:"" json:"auth_timeout" xml:"auth_timeout"` SubdomainHost string `db:"subdomain_host" bson:"subdomain_host" comment:"" json:"subdomain_host" xml:"subdomain_host"` MaxPortsPerClient int64 `db:"max_ports_per_client" bson:"max_ports_per_client" comment:"" json:"max_ports_per_client" xml:"max_ports_per_client"` MaxPoolCount uint `db:"max_pool_count" bson:"max_pool_count" comment:"" json:"max_pool_count" xml:"max_pool_count"` HeartBeatTimeout uint `db:"heart_beat_timeout" bson:"heart_beat_timeout" comment:"" json:"heart_beat_timeout" xml:"heart_beat_timeout"` UserConnTimeout uint `db:"user_conn_timeout" bson:"user_conn_timeout" comment:"" json:"user_conn_timeout" xml:"user_conn_timeout"` DashboardAddr string `db:"dashboard_addr" bson:"dashboard_addr" comment:"" json:"dashboard_addr" xml:"dashboard_addr"` DashboardPort uint `db:"dashboard_port" bson:"dashboard_port" comment:"" json:"dashboard_port" xml:"dashboard_port"` DashboardUser string `db:"dashboard_user" bson:"dashboard_user" comment:"" json:"dashboard_user" xml:"dashboard_user"` DashboardPwd string `db:"dashboard_pwd" bson:"dashboard_pwd" comment:"" json:"dashboard_pwd" xml:"dashboard_pwd"` AllowPorts string `db:"allow_ports" bson:"allow_ports" comment:"" json:"allow_ports" xml:"allow_ports"` Extra string `db:"extra" bson:"extra" comment:"" json:"extra" xml:"extra"` Uid uint `db:"uid" bson:"uid" comment:"" json:"uid" xml:"uid"` GroupId uint `db:"group_id" bson:"group_id" comment:"" json:"group_id" xml:"group_id"` Created uint `db:"created" bson:"created" comment:"" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*FrpServer) BatchValidate ¶
func (*FrpServer) ListByOffset ¶
func (*FrpServer) NewObjects ¶
func (*FrpServer) Trans ¶
func (this *FrpServer) Trans() *factory.Transaction
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) BatchValidate ¶
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) AsKV ¶
func (this *FtpUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*FtpUserGroup) map[string]interface{}
func (*FtpUserGroup) AsMap ¶
func (this *FtpUserGroup) AsMap() map[string]interface{}
func (*FtpUserGroup) AsRow ¶
func (this *FtpUserGroup) AsRow() map[string]interface{}
func (*FtpUserGroup) BatchValidate ¶
func (this *FtpUserGroup) BatchValidate(kvset map[string]interface{}) error
func (*FtpUserGroup) GroupBy ¶
func (this *FtpUserGroup) GroupBy(keyField string, inputRows ...[]*FtpUserGroup) map[string][]*FtpUserGroup
func (*FtpUserGroup) KeyBy ¶
func (this *FtpUserGroup) KeyBy(keyField string, inputRows ...[]*FtpUserGroup) map[string]*FtpUserGroup
func (*FtpUserGroup) ListByOffset ¶
func (*FtpUserGroup) Name_ ¶
func (this *FtpUserGroup) Name_() string
func (*FtpUserGroup) New ¶
func (this *FtpUserGroup) New(structName string, connID ...int) factory.Model
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) Reset ¶
func (this *FtpUserGroup) Reset() *FtpUserGroup
func (*FtpUserGroup) SetNamer ¶
func (this *FtpUserGroup) SetNamer(namer func(string) string) factory.Model
func (*FtpUserGroup) SetParam ¶
func (this *FtpUserGroup) SetParam(param *factory.Param) factory.Model
func (*FtpUserGroup) Short_ ¶
func (this *FtpUserGroup) Short_() string
func (*FtpUserGroup) Struct_ ¶
func (this *FtpUserGroup) Struct_() string
func (*FtpUserGroup) Trans ¶
func (this *FtpUserGroup) Trans() *factory.Transaction
func (*FtpUserGroup) Use ¶
func (this *FtpUserGroup) Use(trans *factory.Transaction) factory.Model
func (*FtpUserGroup) Validate ¶
func (this *FtpUserGroup) Validate(field string, value interface{}) error
type SendingLog ¶
type SendingLog struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` SentAt uint `db:"sent_at" bson:"sent_at" comment:"发送时间" json:"sent_at" xml:"sent_at"` SourceId uint64 `db:"source_id" bson:"source_id" comment:"来源ID" json:"source_id" xml:"source_id"` SourceType string `db:"source_type" bson:"source_type" comment:"来源类型" json:"source_type" xml:"source_type"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` Method string `db:"method" bson:"method" comment:"发送方式(mobile-手机;email-邮箱)" json:"method" xml:"method"` To string `db:"to" bson:"to" comment:"发送目标" json:"to" xml:"to"` Provider string `db:"provider" bson:"provider" comment:"发送平台" json:"provider" xml:"provider"` Result string `db:"result" bson:"result" comment:"发送结果描述" json:"result" xml:"result"` Status string `db:"status" bson:"status" comment:"发送状态(none-无需发送)" json:"status" xml:"status"` Retries uint `db:"retries" bson:"retries" comment:"重试次数" json:"retries" xml:"retries"` Content string `db:"content" bson:"content" comment:"发送消息内容" json:"content" xml:"content"` Params string `db:"params" bson:"params" comment:"发送消息参数(JSON)" json:"params" xml:"params"` AppointmentTime uint `db:"appointment_time" bson:"appointment_time" comment:"预约发送时间" json:"appointment_time" xml:"appointment_time"` // contains filtered or unexported fields }
func (*SendingLog) Add ¶
func (this *SendingLog) Add() (pk interface{}, err error)
func (*SendingLog) AsKV ¶
func (this *SendingLog) AsKV(keyField string, valueField string, inputRows ...[]*SendingLog) map[string]interface{}
func (*SendingLog) AsMap ¶
func (this *SendingLog) AsMap() map[string]interface{}
func (*SendingLog) AsRow ¶
func (this *SendingLog) AsRow() map[string]interface{}
func (*SendingLog) BatchValidate ¶
func (this *SendingLog) BatchValidate(kvset map[string]interface{}) error
func (*SendingLog) GroupBy ¶
func (this *SendingLog) GroupBy(keyField string, inputRows ...[]*SendingLog) map[string][]*SendingLog
func (*SendingLog) KeyBy ¶
func (this *SendingLog) KeyBy(keyField string, inputRows ...[]*SendingLog) map[string]*SendingLog
func (*SendingLog) ListByOffset ¶
func (*SendingLog) Name_ ¶
func (this *SendingLog) Name_() string
func (*SendingLog) New ¶
func (this *SendingLog) New(structName string, connID ...int) factory.Model
func (*SendingLog) NewObjects ¶
func (this *SendingLog) NewObjects() *[]*SendingLog
func (*SendingLog) NewParam ¶
func (this *SendingLog) NewParam() *factory.Param
func (*SendingLog) Objects ¶
func (this *SendingLog) Objects() []*SendingLog
func (*SendingLog) Param ¶
func (this *SendingLog) Param() *factory.Param
func (*SendingLog) Reset ¶
func (this *SendingLog) Reset() *SendingLog
func (*SendingLog) SetNamer ¶
func (this *SendingLog) SetNamer(namer func(string) string) factory.Model
func (*SendingLog) Short_ ¶
func (this *SendingLog) Short_() string
func (*SendingLog) Struct_ ¶
func (this *SendingLog) Struct_() string
func (*SendingLog) Trans ¶
func (this *SendingLog) Trans() *factory.Transaction
func (*SendingLog) Use ¶
func (this *SendingLog) Use(trans *factory.Transaction) factory.Model
func (*SendingLog) Validate ¶
func (this *SendingLog) Validate(field string, value interface{}) error
type SshUser ¶
type SshUser struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` Uid uint `db:"uid" bson:"uid" comment:"UID" json:"uid" xml:"uid"` Host string `db:"host" bson:"host" comment:"主机名" json:"host" xml:"host"` Port int `db:"port" bson:"port" comment:"端口" json:"port" xml:"port"` Charset string `db:"charset" bson:"charset" comment:"字符集" json:"charset" xml:"charset"` Username string `db:"username" bson:"username" comment:"用户名" json:"username" xml:"username"` Password string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"` Name string `db:"name" bson:"name" comment:"账号名称" json:"name" xml:"name"` Options string `db:"options" bson:"options" comment:"其它选项(JSON)" json:"options" xml:"options"` PrivateKey string `db:"private_key" bson:"private_key" comment:"私钥内容" json:"private_key" xml:"private_key"` Passphrase string `db:"passphrase" bson:"passphrase" comment:"私钥口令" json:"passphrase" xml:"passphrase"` Protocol string `db:"protocol" bson:"protocol" comment:"连接协议" json:"protocol" xml:"protocol"` Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"` GroupId uint `db:"group_id" bson:"group_id" comment:"组" json:"group_id" xml:"group_id"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*SshUser) BatchValidate ¶
func (*SshUser) ListByOffset ¶
func (*SshUser) NewObjects ¶
func (*SshUser) Trans ¶
func (this *SshUser) Trans() *factory.Transaction
type SshUserGroup ¶
type SshUserGroup 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"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*SshUserGroup) Add ¶
func (this *SshUserGroup) Add() (pk interface{}, err error)
func (*SshUserGroup) AsKV ¶
func (this *SshUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*SshUserGroup) map[string]interface{}
func (*SshUserGroup) AsMap ¶
func (this *SshUserGroup) AsMap() map[string]interface{}
func (*SshUserGroup) AsRow ¶
func (this *SshUserGroup) AsRow() map[string]interface{}
func (*SshUserGroup) BatchValidate ¶
func (this *SshUserGroup) BatchValidate(kvset map[string]interface{}) error
func (*SshUserGroup) GroupBy ¶
func (this *SshUserGroup) GroupBy(keyField string, inputRows ...[]*SshUserGroup) map[string][]*SshUserGroup
func (*SshUserGroup) KeyBy ¶
func (this *SshUserGroup) KeyBy(keyField string, inputRows ...[]*SshUserGroup) map[string]*SshUserGroup
func (*SshUserGroup) ListByOffset ¶
func (*SshUserGroup) Name_ ¶
func (this *SshUserGroup) Name_() string
func (*SshUserGroup) New ¶
func (this *SshUserGroup) New(structName string, connID ...int) factory.Model
func (*SshUserGroup) NewObjects ¶
func (this *SshUserGroup) NewObjects() *[]*SshUserGroup
func (*SshUserGroup) NewParam ¶
func (this *SshUserGroup) NewParam() *factory.Param
func (*SshUserGroup) Objects ¶
func (this *SshUserGroup) Objects() []*SshUserGroup
func (*SshUserGroup) Param ¶
func (this *SshUserGroup) Param() *factory.Param
func (*SshUserGroup) Reset ¶
func (this *SshUserGroup) Reset() *SshUserGroup
func (*SshUserGroup) SetNamer ¶
func (this *SshUserGroup) SetNamer(namer func(string) string) factory.Model
func (*SshUserGroup) SetParam ¶
func (this *SshUserGroup) SetParam(param *factory.Param) factory.Model
func (*SshUserGroup) Short_ ¶
func (this *SshUserGroup) Short_() string
func (*SshUserGroup) Struct_ ¶
func (this *SshUserGroup) Struct_() string
func (*SshUserGroup) Trans ¶
func (this *SshUserGroup) Trans() *factory.Transaction
func (*SshUserGroup) Use ¶
func (this *SshUserGroup) Use(trans *factory.Transaction) factory.Model
func (*SshUserGroup) Validate ¶
func (this *SshUserGroup) Validate(field string, value interface{}) error
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"` WorkDirectory string `db:"work_directory" bson:"work_directory" comment:"工作目录" json:"work_directory" xml:"work_directory"` Env string `db:"env" bson:"env" comment:"环境变量(一行一个,格式为:var1=val1)" json:"env" xml:"env"` 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 uint64 `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"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` ClosedLog string `db:"closed_log" bson:"closed_log" comment:"是否(Y/N)关闭日志" json:"closed_log" xml:"closed_log"` // contains filtered or unexported fields }
func (*Task) BatchValidate ¶
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"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` CmdPrefix string `db:"cmd_prefix" bson:"cmd_prefix" comment:"命令前缀" json:"cmd_prefix" xml:"cmd_prefix"` CmdSuffix string `db:"cmd_suffix" bson:"cmd_suffix" comment:"命令后缀" json:"cmd_suffix" xml:"cmd_suffix"` // contains filtered or unexported fields }
func (*TaskGroup) BatchValidate ¶
func (*TaskGroup) ListByOffset ¶
func (*TaskGroup) NewObjects ¶
func (*TaskGroup) Trans ¶
func (this *TaskGroup) Trans() *factory.Transaction
type TaskLog ¶
type TaskLog struct { Id uint64 `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) BatchValidate ¶
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"` Mobile string `db:"mobile" bson:"mobile" comment:"手机号" json:"mobile" xml:"mobile"` Password string `db:"password" bson:"password" comment:"密码" json:"password" xml:"password"` Salt string `db:"salt" bson:"salt" comment:"盐值" json:"salt" xml:"salt"` SafePwd string `db:"safe_pwd" bson:"safe_pwd" comment:"安全密码" json:"safe_pwd" xml:"safe_pwd"` Avatar string `db:"avatar" bson:"avatar" comment:"头像" json:"avatar" xml:"avatar"` Gender string `db:"gender" bson:"gender" comment:"性别(male-男;female-女;secret-保密)" json:"gender" xml:"gender"` 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"` Online string `db:"online" bson:"online" comment:"是否在线" json:"online" xml:"online"` RoleIds string `db:"role_ids" bson:"role_ids" comment:"角色ID(多个用“,”分隔开)" json:"role_ids" xml:"role_ids"` Created uint `db:"created" bson:"created" comment:"创建时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"更新时间" json:"updated" xml:"updated"` // contains filtered or unexported fields }
func (*User) BatchValidate ¶
func (*User) ListByOffset ¶
func (*User) NewObjects ¶
func (*User) Trans ¶
func (this *User) Trans() *factory.Transaction
type UserRole ¶
type UserRole struct { Id uint `db:"id,omitempty,pk" bson:"id,omitempty" comment:"ID" json:"id" xml:"id"` 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"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` Disabled string `db:"disabled" bson:"disabled" comment:"是否禁用" json:"disabled" xml:"disabled"` ParentId uint `db:"parent_id" bson:"parent_id" comment:"父级ID" json:"parent_id" xml:"parent_id"` PermCmd string `db:"perm_cmd" bson:"perm_cmd" comment:"指令集权限(多个用“,”分隔开)" json:"perm_cmd" xml:"perm_cmd"` PermAction string `db:"perm_action" bson:"perm_action" comment:"行为权限(多个用“,”分隔开)" json:"perm_action" xml:"perm_action"` // contains filtered or unexported fields }
func (*UserRole) BatchValidate ¶
func (*UserRole) ListByOffset ¶
func (*UserRole) NewObjects ¶
func (*UserRole) Trans ¶
func (this *UserRole) 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) BatchValidate ¶
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"` Name string `db:"name" bson:"name" comment:"网站名称" json:"name" xml:"name"` GroupId uint `db:"group_id" bson:"group_id" comment:"组" json:"group_id" xml:"group_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) BatchValidate ¶
func (*Vhost) ListByOffset ¶
func (*Vhost) NewObjects ¶
func (*Vhost) Trans ¶
func (this *Vhost) Trans() *factory.Transaction
type VhostGroup ¶
type VhostGroup 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 (*VhostGroup) Add ¶
func (this *VhostGroup) Add() (pk interface{}, err error)
func (*VhostGroup) AsKV ¶
func (this *VhostGroup) AsKV(keyField string, valueField string, inputRows ...[]*VhostGroup) map[string]interface{}
func (*VhostGroup) AsMap ¶
func (this *VhostGroup) AsMap() map[string]interface{}
func (*VhostGroup) AsRow ¶
func (this *VhostGroup) AsRow() map[string]interface{}
func (*VhostGroup) BatchValidate ¶
func (this *VhostGroup) BatchValidate(kvset map[string]interface{}) error
func (*VhostGroup) GroupBy ¶
func (this *VhostGroup) GroupBy(keyField string, inputRows ...[]*VhostGroup) map[string][]*VhostGroup
func (*VhostGroup) KeyBy ¶
func (this *VhostGroup) KeyBy(keyField string, inputRows ...[]*VhostGroup) map[string]*VhostGroup
func (*VhostGroup) ListByOffset ¶
func (*VhostGroup) Name_ ¶
func (this *VhostGroup) Name_() string
func (*VhostGroup) New ¶
func (this *VhostGroup) New(structName string, connID ...int) factory.Model
func (*VhostGroup) NewObjects ¶
func (this *VhostGroup) NewObjects() *[]*VhostGroup
func (*VhostGroup) NewParam ¶
func (this *VhostGroup) NewParam() *factory.Param
func (*VhostGroup) Objects ¶
func (this *VhostGroup) Objects() []*VhostGroup
func (*VhostGroup) Param ¶
func (this *VhostGroup) Param() *factory.Param
func (*VhostGroup) Reset ¶
func (this *VhostGroup) Reset() *VhostGroup
func (*VhostGroup) SetNamer ¶
func (this *VhostGroup) SetNamer(namer func(string) string) factory.Model
func (*VhostGroup) Short_ ¶
func (this *VhostGroup) Short_() string
func (*VhostGroup) Struct_ ¶
func (this *VhostGroup) Struct_() string
func (*VhostGroup) Trans ¶
func (this *VhostGroup) Trans() *factory.Transaction
func (*VhostGroup) Use ¶
func (this *VhostGroup) Use(trans *factory.Transaction) factory.Model
func (*VhostGroup) Validate ¶
func (this *VhostGroup) Validate(field string, value interface{}) error
Source Files ¶
- AccessLog.go
- CodeInvitation.go
- CodeVerification.go
- CollectorExport.go
- CollectorExportLog.go
- CollectorGroup.go
- CollectorHistory.go
- CollectorPage.go
- CollectorRule.go
- Command.go
- Config.go
- DbAccount.go
- DbSync.go
- DbSyncLog.go
- ForeverProcess.go
- FrpClient.go
- FrpGroup.go
- FrpServer.go
- FtpUser.go
- FtpUserGroup.go
- SendingLog.go
- SshUser.go
- SshUserGroup.go
- Task.go
- TaskGroup.go
- TaskLog.go
- User.go
- UserRole.go
- UserU2f.go
- Vhost.go
- VhostGroup.go
- init.go
Click to show internal directories.
Click to hide internal directories.