Documentation ¶
Index ¶
- Variables
- type AccessLog
- func (a *AccessLog) Add() (pk interface{}, err error)
- func (a *AccessLog) AsKV(keyField string, valueField string, inputRows ...[]*AccessLog) map[string]interface{}
- func (a *AccessLog) AsMap() map[string]interface{}
- func (a *AccessLog) AsRow() map[string]interface{}
- func (a *AccessLog) BatchValidate(kvset map[string]interface{}) error
- func (a *AccessLog) CPAFrom(source factory.Model) factory.Model
- func (a *AccessLog) Context() echo.Context
- func (a *AccessLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *AccessLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *AccessLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *AccessLog) EventOFF(off ...bool) factory.Model
- func (a *AccessLog) EventON(on ...bool) factory.Model
- func (a *AccessLog) FromRow(row map[string]interface{})
- func (a *AccessLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *AccessLog) GroupBy(keyField string, inputRows ...[]*AccessLog) map[string][]*AccessLog
- func (a *AccessLog) InitObjects() *[]*AccessLog
- func (a *AccessLog) KeyBy(keyField string, inputRows ...[]*AccessLog) map[string]*AccessLog
- func (a *AccessLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *AccessLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *AccessLog) Name_() string
- func (a *AccessLog) Namer() func(string) string
- func (a *AccessLog) New(structName string, connID ...int) factory.Model
- func (a *AccessLog) NewObjects() factory.Ranger
- func (a *AccessLog) NewParam() *factory.Param
- func (a *AccessLog) Objects() []*AccessLog
- func (a *AccessLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *AccessLog) Reset() *AccessLog
- func (a *AccessLog) Set(key interface{}, value ...interface{})
- func (a *AccessLog) SetConnID(connID int) factory.Model
- func (a *AccessLog) SetContext(ctx echo.Context) factory.Model
- func (a *AccessLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *AccessLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *AccessLog) SetNamer(namer func(string) string) factory.Model
- func (a *AccessLog) SetParam(param *factory.Param) factory.Model
- func (a *AccessLog) Short_() string
- func (a *AccessLog) Struct_() string
- func (a *AccessLog) Trans() *factory.Transaction
- func (a *AccessLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *AccessLog) Use(trans *factory.Transaction) factory.Model
- func (a *AccessLog) Validate(field string, value interface{}) error
- type CloudStorage
- func (a *CloudStorage) Add() (pk interface{}, err error)
- func (a *CloudStorage) AsKV(keyField string, valueField string, inputRows ...[]*CloudStorage) map[string]interface{}
- func (a *CloudStorage) AsMap() map[string]interface{}
- func (a *CloudStorage) AsRow() map[string]interface{}
- func (a *CloudStorage) BatchValidate(kvset map[string]interface{}) error
- func (a *CloudStorage) CPAFrom(source factory.Model) factory.Model
- func (a *CloudStorage) Context() echo.Context
- func (a *CloudStorage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CloudStorage) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CloudStorage) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CloudStorage) EventOFF(off ...bool) factory.Model
- func (a *CloudStorage) EventON(on ...bool) factory.Model
- func (a *CloudStorage) FromRow(row map[string]interface{})
- func (a *CloudStorage) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CloudStorage) GroupBy(keyField string, inputRows ...[]*CloudStorage) map[string][]*CloudStorage
- func (a *CloudStorage) InitObjects() *[]*CloudStorage
- func (a *CloudStorage) KeyBy(keyField string, inputRows ...[]*CloudStorage) map[string]*CloudStorage
- func (a *CloudStorage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CloudStorage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CloudStorage) Name_() string
- func (a *CloudStorage) Namer() func(string) string
- func (a *CloudStorage) New(structName string, connID ...int) factory.Model
- func (a *CloudStorage) NewObjects() factory.Ranger
- func (a *CloudStorage) NewParam() *factory.Param
- func (a *CloudStorage) Objects() []*CloudStorage
- func (a *CloudStorage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CloudStorage) Reset() *CloudStorage
- func (a *CloudStorage) Set(key interface{}, value ...interface{})
- func (a *CloudStorage) SetConnID(connID int) factory.Model
- func (a *CloudStorage) SetContext(ctx echo.Context) factory.Model
- func (a *CloudStorage) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CloudStorage) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CloudStorage) SetNamer(namer func(string) string) factory.Model
- func (a *CloudStorage) SetParam(param *factory.Param) factory.Model
- func (a *CloudStorage) Short_() string
- func (a *CloudStorage) Struct_() string
- func (a *CloudStorage) Trans() *factory.Transaction
- func (a *CloudStorage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CloudStorage) Use(trans *factory.Transaction) factory.Model
- func (a *CloudStorage) Validate(field string, value interface{}) error
- type CodeInvitation
- func (a *CodeInvitation) Add() (pk interface{}, err error)
- func (a *CodeInvitation) AsKV(keyField string, valueField string, inputRows ...[]*CodeInvitation) map[string]interface{}
- func (a *CodeInvitation) AsMap() map[string]interface{}
- func (a *CodeInvitation) AsRow() map[string]interface{}
- func (a *CodeInvitation) BatchValidate(kvset map[string]interface{}) error
- func (a *CodeInvitation) CPAFrom(source factory.Model) factory.Model
- func (a *CodeInvitation) Context() echo.Context
- func (a *CodeInvitation) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CodeInvitation) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CodeInvitation) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CodeInvitation) EventOFF(off ...bool) factory.Model
- func (a *CodeInvitation) EventON(on ...bool) factory.Model
- func (a *CodeInvitation) FromRow(row map[string]interface{})
- func (a *CodeInvitation) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CodeInvitation) GroupBy(keyField string, inputRows ...[]*CodeInvitation) map[string][]*CodeInvitation
- func (a *CodeInvitation) InitObjects() *[]*CodeInvitation
- func (a *CodeInvitation) KeyBy(keyField string, inputRows ...[]*CodeInvitation) map[string]*CodeInvitation
- func (a *CodeInvitation) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CodeInvitation) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CodeInvitation) Name_() string
- func (a *CodeInvitation) Namer() func(string) string
- func (a *CodeInvitation) New(structName string, connID ...int) factory.Model
- func (a *CodeInvitation) NewObjects() factory.Ranger
- func (a *CodeInvitation) NewParam() *factory.Param
- func (a *CodeInvitation) Objects() []*CodeInvitation
- func (a *CodeInvitation) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CodeInvitation) Reset() *CodeInvitation
- func (a *CodeInvitation) Set(key interface{}, value ...interface{})
- func (a *CodeInvitation) SetConnID(connID int) factory.Model
- func (a *CodeInvitation) SetContext(ctx echo.Context) factory.Model
- func (a *CodeInvitation) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CodeInvitation) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CodeInvitation) SetNamer(namer func(string) string) factory.Model
- func (a *CodeInvitation) SetParam(param *factory.Param) factory.Model
- func (a *CodeInvitation) Short_() string
- func (a *CodeInvitation) Struct_() string
- func (a *CodeInvitation) Trans() *factory.Transaction
- func (a *CodeInvitation) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CodeInvitation) Use(trans *factory.Transaction) factory.Model
- func (a *CodeInvitation) Validate(field string, value interface{}) error
- type CodeVerification
- func (a *CodeVerification) Add() (pk interface{}, err error)
- func (a *CodeVerification) AsKV(keyField string, valueField string, inputRows ...[]*CodeVerification) map[string]interface{}
- func (a *CodeVerification) AsMap() map[string]interface{}
- func (a *CodeVerification) AsRow() map[string]interface{}
- func (a *CodeVerification) BatchValidate(kvset map[string]interface{}) error
- func (a *CodeVerification) CPAFrom(source factory.Model) factory.Model
- func (a *CodeVerification) Context() echo.Context
- func (a *CodeVerification) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CodeVerification) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CodeVerification) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CodeVerification) EventOFF(off ...bool) factory.Model
- func (a *CodeVerification) EventON(on ...bool) factory.Model
- func (a *CodeVerification) FromRow(row map[string]interface{})
- func (a *CodeVerification) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CodeVerification) GroupBy(keyField string, inputRows ...[]*CodeVerification) map[string][]*CodeVerification
- func (a *CodeVerification) InitObjects() *[]*CodeVerification
- func (a *CodeVerification) KeyBy(keyField string, inputRows ...[]*CodeVerification) map[string]*CodeVerification
- func (a *CodeVerification) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CodeVerification) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CodeVerification) Name_() string
- func (a *CodeVerification) Namer() func(string) string
- func (a *CodeVerification) New(structName string, connID ...int) factory.Model
- func (a *CodeVerification) NewObjects() factory.Ranger
- func (a *CodeVerification) NewParam() *factory.Param
- func (a *CodeVerification) Objects() []*CodeVerification
- func (a *CodeVerification) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CodeVerification) Reset() *CodeVerification
- func (a *CodeVerification) Set(key interface{}, value ...interface{})
- func (a *CodeVerification) SetConnID(connID int) factory.Model
- func (a *CodeVerification) SetContext(ctx echo.Context) factory.Model
- func (a *CodeVerification) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CodeVerification) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CodeVerification) SetNamer(namer func(string) string) factory.Model
- func (a *CodeVerification) SetParam(param *factory.Param) factory.Model
- func (a *CodeVerification) Short_() string
- func (a *CodeVerification) Struct_() string
- func (a *CodeVerification) Trans() *factory.Transaction
- func (a *CodeVerification) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CodeVerification) Use(trans *factory.Transaction) factory.Model
- func (a *CodeVerification) Validate(field string, value interface{}) error
- type CollectorExport
- func (a *CollectorExport) Add() (pk interface{}, err error)
- func (a *CollectorExport) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExport) map[string]interface{}
- func (a *CollectorExport) AsMap() map[string]interface{}
- func (a *CollectorExport) AsRow() map[string]interface{}
- func (a *CollectorExport) BatchValidate(kvset map[string]interface{}) error
- func (a *CollectorExport) CPAFrom(source factory.Model) factory.Model
- func (a *CollectorExport) Context() echo.Context
- func (a *CollectorExport) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CollectorExport) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorExport) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorExport) EventOFF(off ...bool) factory.Model
- func (a *CollectorExport) EventON(on ...bool) factory.Model
- func (a *CollectorExport) FromRow(row map[string]interface{})
- func (a *CollectorExport) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CollectorExport) GroupBy(keyField string, inputRows ...[]*CollectorExport) map[string][]*CollectorExport
- func (a *CollectorExport) InitObjects() *[]*CollectorExport
- func (a *CollectorExport) KeyBy(keyField string, inputRows ...[]*CollectorExport) map[string]*CollectorExport
- func (a *CollectorExport) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CollectorExport) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CollectorExport) Name_() string
- func (a *CollectorExport) Namer() func(string) string
- func (a *CollectorExport) New(structName string, connID ...int) factory.Model
- func (a *CollectorExport) NewObjects() factory.Ranger
- func (a *CollectorExport) NewParam() *factory.Param
- func (a *CollectorExport) Objects() []*CollectorExport
- func (a *CollectorExport) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CollectorExport) Reset() *CollectorExport
- func (a *CollectorExport) Set(key interface{}, value ...interface{})
- func (a *CollectorExport) SetConnID(connID int) factory.Model
- func (a *CollectorExport) SetContext(ctx echo.Context) factory.Model
- func (a *CollectorExport) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CollectorExport) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CollectorExport) SetNamer(namer func(string) string) factory.Model
- func (a *CollectorExport) SetParam(param *factory.Param) factory.Model
- func (a *CollectorExport) Short_() string
- func (a *CollectorExport) Struct_() string
- func (a *CollectorExport) Trans() *factory.Transaction
- func (a *CollectorExport) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CollectorExport) Use(trans *factory.Transaction) factory.Model
- func (a *CollectorExport) Validate(field string, value interface{}) error
- type CollectorExportLog
- func (a *CollectorExportLog) Add() (pk interface{}, err error)
- func (a *CollectorExportLog) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExportLog) map[string]interface{}
- func (a *CollectorExportLog) AsMap() map[string]interface{}
- func (a *CollectorExportLog) AsRow() map[string]interface{}
- func (a *CollectorExportLog) BatchValidate(kvset map[string]interface{}) error
- func (a *CollectorExportLog) CPAFrom(source factory.Model) factory.Model
- func (a *CollectorExportLog) Context() echo.Context
- func (a *CollectorExportLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CollectorExportLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorExportLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorExportLog) EventOFF(off ...bool) factory.Model
- func (a *CollectorExportLog) EventON(on ...bool) factory.Model
- func (a *CollectorExportLog) FromRow(row map[string]interface{})
- func (a *CollectorExportLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CollectorExportLog) GroupBy(keyField string, inputRows ...[]*CollectorExportLog) map[string][]*CollectorExportLog
- func (a *CollectorExportLog) InitObjects() *[]*CollectorExportLog
- func (a *CollectorExportLog) KeyBy(keyField string, inputRows ...[]*CollectorExportLog) map[string]*CollectorExportLog
- func (a *CollectorExportLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CollectorExportLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CollectorExportLog) Name_() string
- func (a *CollectorExportLog) Namer() func(string) string
- func (a *CollectorExportLog) New(structName string, connID ...int) factory.Model
- func (a *CollectorExportLog) NewObjects() factory.Ranger
- func (a *CollectorExportLog) NewParam() *factory.Param
- func (a *CollectorExportLog) Objects() []*CollectorExportLog
- func (a *CollectorExportLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CollectorExportLog) Reset() *CollectorExportLog
- func (a *CollectorExportLog) Set(key interface{}, value ...interface{})
- func (a *CollectorExportLog) SetConnID(connID int) factory.Model
- func (a *CollectorExportLog) SetContext(ctx echo.Context) factory.Model
- func (a *CollectorExportLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CollectorExportLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CollectorExportLog) SetNamer(namer func(string) string) factory.Model
- func (a *CollectorExportLog) SetParam(param *factory.Param) factory.Model
- func (a *CollectorExportLog) Short_() string
- func (a *CollectorExportLog) Struct_() string
- func (a *CollectorExportLog) Trans() *factory.Transaction
- func (a *CollectorExportLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CollectorExportLog) Use(trans *factory.Transaction) factory.Model
- func (a *CollectorExportLog) Validate(field string, value interface{}) error
- type CollectorGroup
- func (a *CollectorGroup) Add() (pk interface{}, err error)
- func (a *CollectorGroup) AsKV(keyField string, valueField string, inputRows ...[]*CollectorGroup) map[string]interface{}
- func (a *CollectorGroup) AsMap() map[string]interface{}
- func (a *CollectorGroup) AsRow() map[string]interface{}
- func (a *CollectorGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *CollectorGroup) CPAFrom(source factory.Model) factory.Model
- func (a *CollectorGroup) Context() echo.Context
- func (a *CollectorGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CollectorGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorGroup) EventOFF(off ...bool) factory.Model
- func (a *CollectorGroup) EventON(on ...bool) factory.Model
- func (a *CollectorGroup) FromRow(row map[string]interface{})
- func (a *CollectorGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CollectorGroup) GroupBy(keyField string, inputRows ...[]*CollectorGroup) map[string][]*CollectorGroup
- func (a *CollectorGroup) InitObjects() *[]*CollectorGroup
- func (a *CollectorGroup) KeyBy(keyField string, inputRows ...[]*CollectorGroup) map[string]*CollectorGroup
- func (a *CollectorGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CollectorGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CollectorGroup) Name_() string
- func (a *CollectorGroup) Namer() func(string) string
- func (a *CollectorGroup) New(structName string, connID ...int) factory.Model
- func (a *CollectorGroup) NewObjects() factory.Ranger
- func (a *CollectorGroup) NewParam() *factory.Param
- func (a *CollectorGroup) Objects() []*CollectorGroup
- func (a *CollectorGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CollectorGroup) Reset() *CollectorGroup
- func (a *CollectorGroup) Set(key interface{}, value ...interface{})
- func (a *CollectorGroup) SetConnID(connID int) factory.Model
- func (a *CollectorGroup) SetContext(ctx echo.Context) factory.Model
- func (a *CollectorGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CollectorGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CollectorGroup) SetNamer(namer func(string) string) factory.Model
- func (a *CollectorGroup) SetParam(param *factory.Param) factory.Model
- func (a *CollectorGroup) Short_() string
- func (a *CollectorGroup) Struct_() string
- func (a *CollectorGroup) Trans() *factory.Transaction
- func (a *CollectorGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CollectorGroup) Use(trans *factory.Transaction) factory.Model
- func (a *CollectorGroup) Validate(field string, value interface{}) error
- type CollectorHistory
- func (a *CollectorHistory) Add() (pk interface{}, err error)
- func (a *CollectorHistory) AsKV(keyField string, valueField string, inputRows ...[]*CollectorHistory) map[string]interface{}
- func (a *CollectorHistory) AsMap() map[string]interface{}
- func (a *CollectorHistory) AsRow() map[string]interface{}
- func (a *CollectorHistory) BatchValidate(kvset map[string]interface{}) error
- func (a *CollectorHistory) CPAFrom(source factory.Model) factory.Model
- func (a *CollectorHistory) Context() echo.Context
- func (a *CollectorHistory) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CollectorHistory) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorHistory) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorHistory) EventOFF(off ...bool) factory.Model
- func (a *CollectorHistory) EventON(on ...bool) factory.Model
- func (a *CollectorHistory) FromRow(row map[string]interface{})
- func (a *CollectorHistory) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CollectorHistory) GroupBy(keyField string, inputRows ...[]*CollectorHistory) map[string][]*CollectorHistory
- func (a *CollectorHistory) InitObjects() *[]*CollectorHistory
- func (a *CollectorHistory) KeyBy(keyField string, inputRows ...[]*CollectorHistory) map[string]*CollectorHistory
- func (a *CollectorHistory) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CollectorHistory) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CollectorHistory) Name_() string
- func (a *CollectorHistory) Namer() func(string) string
- func (a *CollectorHistory) New(structName string, connID ...int) factory.Model
- func (a *CollectorHistory) NewObjects() factory.Ranger
- func (a *CollectorHistory) NewParam() *factory.Param
- func (a *CollectorHistory) Objects() []*CollectorHistory
- func (a *CollectorHistory) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CollectorHistory) Reset() *CollectorHistory
- func (a *CollectorHistory) Set(key interface{}, value ...interface{})
- func (a *CollectorHistory) SetConnID(connID int) factory.Model
- func (a *CollectorHistory) SetContext(ctx echo.Context) factory.Model
- func (a *CollectorHistory) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CollectorHistory) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CollectorHistory) SetNamer(namer func(string) string) factory.Model
- func (a *CollectorHistory) SetParam(param *factory.Param) factory.Model
- func (a *CollectorHistory) Short_() string
- func (a *CollectorHistory) Struct_() string
- func (a *CollectorHistory) Trans() *factory.Transaction
- func (a *CollectorHistory) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CollectorHistory) Use(trans *factory.Transaction) factory.Model
- func (a *CollectorHistory) Validate(field string, value interface{}) error
- type CollectorPage
- func (a *CollectorPage) Add() (pk interface{}, err error)
- func (a *CollectorPage) AsKV(keyField string, valueField string, inputRows ...[]*CollectorPage) map[string]interface{}
- func (a *CollectorPage) AsMap() map[string]interface{}
- func (a *CollectorPage) AsRow() map[string]interface{}
- func (a *CollectorPage) BatchValidate(kvset map[string]interface{}) error
- func (a *CollectorPage) CPAFrom(source factory.Model) factory.Model
- func (a *CollectorPage) Context() echo.Context
- func (a *CollectorPage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CollectorPage) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorPage) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorPage) EventOFF(off ...bool) factory.Model
- func (a *CollectorPage) EventON(on ...bool) factory.Model
- func (a *CollectorPage) FromRow(row map[string]interface{})
- func (a *CollectorPage) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CollectorPage) GroupBy(keyField string, inputRows ...[]*CollectorPage) map[string][]*CollectorPage
- func (a *CollectorPage) InitObjects() *[]*CollectorPage
- func (a *CollectorPage) KeyBy(keyField string, inputRows ...[]*CollectorPage) map[string]*CollectorPage
- func (a *CollectorPage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CollectorPage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CollectorPage) Name_() string
- func (a *CollectorPage) Namer() func(string) string
- func (a *CollectorPage) New(structName string, connID ...int) factory.Model
- func (a *CollectorPage) NewObjects() factory.Ranger
- func (a *CollectorPage) NewParam() *factory.Param
- func (a *CollectorPage) Objects() []*CollectorPage
- func (a *CollectorPage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CollectorPage) Reset() *CollectorPage
- func (a *CollectorPage) Set(key interface{}, value ...interface{})
- func (a *CollectorPage) SetConnID(connID int) factory.Model
- func (a *CollectorPage) SetContext(ctx echo.Context) factory.Model
- func (a *CollectorPage) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CollectorPage) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CollectorPage) SetNamer(namer func(string) string) factory.Model
- func (a *CollectorPage) SetParam(param *factory.Param) factory.Model
- func (a *CollectorPage) Short_() string
- func (a *CollectorPage) Struct_() string
- func (a *CollectorPage) Trans() *factory.Transaction
- func (a *CollectorPage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CollectorPage) Use(trans *factory.Transaction) factory.Model
- func (a *CollectorPage) Validate(field string, value interface{}) error
- type CollectorRule
- func (a *CollectorRule) Add() (pk interface{}, err error)
- func (a *CollectorRule) AsKV(keyField string, valueField string, inputRows ...[]*CollectorRule) map[string]interface{}
- func (a *CollectorRule) AsMap() map[string]interface{}
- func (a *CollectorRule) AsRow() map[string]interface{}
- func (a *CollectorRule) BatchValidate(kvset map[string]interface{}) error
- func (a *CollectorRule) CPAFrom(source factory.Model) factory.Model
- func (a *CollectorRule) Context() echo.Context
- func (a *CollectorRule) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *CollectorRule) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorRule) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *CollectorRule) EventOFF(off ...bool) factory.Model
- func (a *CollectorRule) EventON(on ...bool) factory.Model
- func (a *CollectorRule) FromRow(row map[string]interface{})
- func (a *CollectorRule) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *CollectorRule) GroupBy(keyField string, inputRows ...[]*CollectorRule) map[string][]*CollectorRule
- func (a *CollectorRule) InitObjects() *[]*CollectorRule
- func (a *CollectorRule) KeyBy(keyField string, inputRows ...[]*CollectorRule) map[string]*CollectorRule
- func (a *CollectorRule) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *CollectorRule) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *CollectorRule) Name_() string
- func (a *CollectorRule) Namer() func(string) string
- func (a *CollectorRule) New(structName string, connID ...int) factory.Model
- func (a *CollectorRule) NewObjects() factory.Ranger
- func (a *CollectorRule) NewParam() *factory.Param
- func (a *CollectorRule) Objects() []*CollectorRule
- func (a *CollectorRule) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *CollectorRule) Reset() *CollectorRule
- func (a *CollectorRule) Set(key interface{}, value ...interface{})
- func (a *CollectorRule) SetConnID(connID int) factory.Model
- func (a *CollectorRule) SetContext(ctx echo.Context) factory.Model
- func (a *CollectorRule) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *CollectorRule) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *CollectorRule) SetNamer(namer func(string) string) factory.Model
- func (a *CollectorRule) SetParam(param *factory.Param) factory.Model
- func (a *CollectorRule) Short_() string
- func (a *CollectorRule) Struct_() string
- func (a *CollectorRule) Trans() *factory.Transaction
- func (a *CollectorRule) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *CollectorRule) Use(trans *factory.Transaction) factory.Model
- func (a *CollectorRule) Validate(field string, value interface{}) error
- type Command
- func (a *Command) Add() (pk interface{}, err error)
- func (a *Command) AsKV(keyField string, valueField string, inputRows ...[]*Command) map[string]interface{}
- func (a *Command) AsMap() map[string]interface{}
- func (a *Command) AsRow() map[string]interface{}
- func (a *Command) BatchValidate(kvset map[string]interface{}) error
- func (a *Command) CPAFrom(source factory.Model) factory.Model
- func (a *Command) Context() echo.Context
- func (a *Command) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *Command) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Command) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Command) EventOFF(off ...bool) factory.Model
- func (a *Command) EventON(on ...bool) factory.Model
- func (a *Command) FromRow(row map[string]interface{})
- func (a *Command) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *Command) GroupBy(keyField string, inputRows ...[]*Command) map[string][]*Command
- func (a *Command) InitObjects() *[]*Command
- func (a *Command) KeyBy(keyField string, inputRows ...[]*Command) map[string]*Command
- func (a *Command) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *Command) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *Command) Name_() string
- func (a *Command) Namer() func(string) string
- func (a *Command) New(structName string, connID ...int) factory.Model
- func (a *Command) NewObjects() factory.Ranger
- func (a *Command) NewParam() *factory.Param
- func (a *Command) Objects() []*Command
- func (a *Command) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *Command) Reset() *Command
- func (a *Command) Set(key interface{}, value ...interface{})
- func (a *Command) SetConnID(connID int) factory.Model
- func (a *Command) SetContext(ctx echo.Context) factory.Model
- func (a *Command) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *Command) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *Command) SetNamer(namer func(string) string) factory.Model
- func (a *Command) SetParam(param *factory.Param) factory.Model
- func (a *Command) Short_() string
- func (a *Command) Struct_() string
- func (a *Command) Trans() *factory.Transaction
- func (a *Command) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *Command) Use(trans *factory.Transaction) factory.Model
- func (a *Command) Validate(field string, value interface{}) error
- type Config
- func (a *Config) Add() (pk interface{}, err error)
- func (a *Config) AsKV(keyField string, valueField string, inputRows ...[]*Config) map[string]interface{}
- func (a *Config) AsMap() map[string]interface{}
- func (a *Config) AsRow() map[string]interface{}
- func (a *Config) BatchValidate(kvset map[string]interface{}) error
- func (a *Config) CPAFrom(source factory.Model) factory.Model
- func (a *Config) Context() echo.Context
- func (a *Config) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *Config) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Config) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Config) EventOFF(off ...bool) factory.Model
- func (a *Config) EventON(on ...bool) factory.Model
- func (a *Config) FromRow(row map[string]interface{})
- func (a *Config) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *Config) GroupBy(keyField string, inputRows ...[]*Config) map[string][]*Config
- func (a *Config) InitObjects() *[]*Config
- func (a *Config) KeyBy(keyField string, inputRows ...[]*Config) map[string]*Config
- func (a *Config) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *Config) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *Config) Name_() string
- func (a *Config) Namer() func(string) string
- func (a *Config) New(structName string, connID ...int) factory.Model
- func (a *Config) NewObjects() factory.Ranger
- func (a *Config) NewParam() *factory.Param
- func (a *Config) Objects() []*Config
- func (a *Config) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *Config) Reset() *Config
- func (a *Config) Set(key interface{}, value ...interface{})
- func (a *Config) SetConnID(connID int) factory.Model
- func (a *Config) SetContext(ctx echo.Context) factory.Model
- func (a *Config) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *Config) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *Config) SetNamer(namer func(string) string) factory.Model
- func (a *Config) SetParam(param *factory.Param) factory.Model
- func (a *Config) Short_() string
- func (a *Config) Struct_() string
- func (a *Config) Trans() *factory.Transaction
- func (a *Config) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *Config) Use(trans *factory.Transaction) factory.Model
- func (a *Config) Validate(field string, value interface{}) error
- type DbAccount
- func (a *DbAccount) Add() (pk interface{}, err error)
- func (a *DbAccount) AsKV(keyField string, valueField string, inputRows ...[]*DbAccount) map[string]interface{}
- func (a *DbAccount) AsMap() map[string]interface{}
- func (a *DbAccount) AsRow() map[string]interface{}
- func (a *DbAccount) BatchValidate(kvset map[string]interface{}) error
- func (a *DbAccount) CPAFrom(source factory.Model) factory.Model
- func (a *DbAccount) Context() echo.Context
- func (a *DbAccount) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *DbAccount) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *DbAccount) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *DbAccount) EventOFF(off ...bool) factory.Model
- func (a *DbAccount) EventON(on ...bool) factory.Model
- func (a *DbAccount) FromRow(row map[string]interface{})
- func (a *DbAccount) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *DbAccount) GroupBy(keyField string, inputRows ...[]*DbAccount) map[string][]*DbAccount
- func (a *DbAccount) InitObjects() *[]*DbAccount
- func (a *DbAccount) KeyBy(keyField string, inputRows ...[]*DbAccount) map[string]*DbAccount
- func (a *DbAccount) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *DbAccount) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *DbAccount) Name_() string
- func (a *DbAccount) Namer() func(string) string
- func (a *DbAccount) New(structName string, connID ...int) factory.Model
- func (a *DbAccount) NewObjects() factory.Ranger
- func (a *DbAccount) NewParam() *factory.Param
- func (a *DbAccount) Objects() []*DbAccount
- func (a *DbAccount) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *DbAccount) Reset() *DbAccount
- func (a *DbAccount) Set(key interface{}, value ...interface{})
- func (a *DbAccount) SetConnID(connID int) factory.Model
- func (a *DbAccount) SetContext(ctx echo.Context) factory.Model
- func (a *DbAccount) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *DbAccount) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *DbAccount) SetNamer(namer func(string) string) factory.Model
- func (a *DbAccount) SetParam(param *factory.Param) factory.Model
- func (a *DbAccount) Short_() string
- func (a *DbAccount) Struct_() string
- func (a *DbAccount) Trans() *factory.Transaction
- func (a *DbAccount) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *DbAccount) Use(trans *factory.Transaction) factory.Model
- func (a *DbAccount) Validate(field string, value interface{}) error
- type DbSync
- func (a *DbSync) Add() (pk interface{}, err error)
- func (a *DbSync) AsKV(keyField string, valueField string, inputRows ...[]*DbSync) map[string]interface{}
- func (a *DbSync) AsMap() map[string]interface{}
- func (a *DbSync) AsRow() map[string]interface{}
- func (a *DbSync) BatchValidate(kvset map[string]interface{}) error
- func (a *DbSync) CPAFrom(source factory.Model) factory.Model
- func (a *DbSync) Context() echo.Context
- func (a *DbSync) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *DbSync) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *DbSync) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *DbSync) EventOFF(off ...bool) factory.Model
- func (a *DbSync) EventON(on ...bool) factory.Model
- func (a *DbSync) FromRow(row map[string]interface{})
- func (a *DbSync) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *DbSync) GroupBy(keyField string, inputRows ...[]*DbSync) map[string][]*DbSync
- func (a *DbSync) InitObjects() *[]*DbSync
- func (a *DbSync) KeyBy(keyField string, inputRows ...[]*DbSync) map[string]*DbSync
- func (a *DbSync) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *DbSync) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *DbSync) Name_() string
- func (a *DbSync) Namer() func(string) string
- func (a *DbSync) New(structName string, connID ...int) factory.Model
- func (a *DbSync) NewObjects() factory.Ranger
- func (a *DbSync) NewParam() *factory.Param
- func (a *DbSync) Objects() []*DbSync
- func (a *DbSync) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *DbSync) Reset() *DbSync
- func (a *DbSync) Set(key interface{}, value ...interface{})
- func (a *DbSync) SetConnID(connID int) factory.Model
- func (a *DbSync) SetContext(ctx echo.Context) factory.Model
- func (a *DbSync) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *DbSync) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *DbSync) SetNamer(namer func(string) string) factory.Model
- func (a *DbSync) SetParam(param *factory.Param) factory.Model
- func (a *DbSync) Short_() string
- func (a *DbSync) Struct_() string
- func (a *DbSync) Trans() *factory.Transaction
- func (a *DbSync) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *DbSync) Use(trans *factory.Transaction) factory.Model
- func (a *DbSync) Validate(field string, value interface{}) error
- type DbSyncLog
- func (a *DbSyncLog) Add() (pk interface{}, err error)
- func (a *DbSyncLog) AsKV(keyField string, valueField string, inputRows ...[]*DbSyncLog) map[string]interface{}
- func (a *DbSyncLog) AsMap() map[string]interface{}
- func (a *DbSyncLog) AsRow() map[string]interface{}
- func (a *DbSyncLog) BatchValidate(kvset map[string]interface{}) error
- func (a *DbSyncLog) CPAFrom(source factory.Model) factory.Model
- func (a *DbSyncLog) Context() echo.Context
- func (a *DbSyncLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *DbSyncLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *DbSyncLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *DbSyncLog) EventOFF(off ...bool) factory.Model
- func (a *DbSyncLog) EventON(on ...bool) factory.Model
- func (a *DbSyncLog) FromRow(row map[string]interface{})
- func (a *DbSyncLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *DbSyncLog) GroupBy(keyField string, inputRows ...[]*DbSyncLog) map[string][]*DbSyncLog
- func (a *DbSyncLog) InitObjects() *[]*DbSyncLog
- func (a *DbSyncLog) KeyBy(keyField string, inputRows ...[]*DbSyncLog) map[string]*DbSyncLog
- func (a *DbSyncLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *DbSyncLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *DbSyncLog) Name_() string
- func (a *DbSyncLog) Namer() func(string) string
- func (a *DbSyncLog) New(structName string, connID ...int) factory.Model
- func (a *DbSyncLog) NewObjects() factory.Ranger
- func (a *DbSyncLog) NewParam() *factory.Param
- func (a *DbSyncLog) Objects() []*DbSyncLog
- func (a *DbSyncLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *DbSyncLog) Reset() *DbSyncLog
- func (a *DbSyncLog) Set(key interface{}, value ...interface{})
- func (a *DbSyncLog) SetConnID(connID int) factory.Model
- func (a *DbSyncLog) SetContext(ctx echo.Context) factory.Model
- func (a *DbSyncLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *DbSyncLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *DbSyncLog) SetNamer(namer func(string) string) factory.Model
- func (a *DbSyncLog) SetParam(param *factory.Param) factory.Model
- func (a *DbSyncLog) Short_() string
- func (a *DbSyncLog) Struct_() string
- func (a *DbSyncLog) Trans() *factory.Transaction
- func (a *DbSyncLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *DbSyncLog) Use(trans *factory.Transaction) factory.Model
- func (a *DbSyncLog) Validate(field string, value interface{}) error
- type File
- func (a *File) Add() (pk interface{}, err error)
- func (a *File) AsKV(keyField string, valueField string, inputRows ...[]*File) map[string]interface{}
- func (a *File) AsMap() map[string]interface{}
- func (a *File) AsRow() map[string]interface{}
- func (a *File) BatchValidate(kvset map[string]interface{}) error
- func (a *File) CPAFrom(source factory.Model) factory.Model
- func (a *File) Context() echo.Context
- func (a *File) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *File) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *File) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *File) EventOFF(off ...bool) factory.Model
- func (a *File) EventON(on ...bool) factory.Model
- func (a *File) FromRow(row map[string]interface{})
- func (a *File) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *File) GroupBy(keyField string, inputRows ...[]*File) map[string][]*File
- func (a *File) InitObjects() *[]*File
- func (a *File) KeyBy(keyField string, inputRows ...[]*File) map[string]*File
- func (a *File) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *File) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *File) Name_() string
- func (a *File) Namer() func(string) string
- func (a *File) New(structName string, connID ...int) factory.Model
- func (a *File) NewObjects() factory.Ranger
- func (a *File) NewParam() *factory.Param
- func (a *File) Objects() []*File
- func (a *File) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *File) Reset() *File
- func (a *File) Set(key interface{}, value ...interface{})
- func (a *File) SetConnID(connID int) factory.Model
- func (a *File) SetContext(ctx echo.Context) factory.Model
- func (a *File) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *File) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *File) SetNamer(namer func(string) string) factory.Model
- func (a *File) SetParam(param *factory.Param) factory.Model
- func (a *File) Short_() string
- func (a *File) Struct_() string
- func (a *File) Trans() *factory.Transaction
- func (a *File) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *File) Use(trans *factory.Transaction) factory.Model
- func (a *File) Validate(field string, value interface{}) error
- type FileEmbedded
- func (a *FileEmbedded) Add() (pk interface{}, err error)
- func (a *FileEmbedded) AsKV(keyField string, valueField string, inputRows ...[]*FileEmbedded) map[string]interface{}
- func (a *FileEmbedded) AsMap() map[string]interface{}
- func (a *FileEmbedded) AsRow() map[string]interface{}
- func (a *FileEmbedded) BatchValidate(kvset map[string]interface{}) error
- func (a *FileEmbedded) CPAFrom(source factory.Model) factory.Model
- func (a *FileEmbedded) Context() echo.Context
- func (a *FileEmbedded) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FileEmbedded) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FileEmbedded) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FileEmbedded) EventOFF(off ...bool) factory.Model
- func (a *FileEmbedded) EventON(on ...bool) factory.Model
- func (a *FileEmbedded) FromRow(row map[string]interface{})
- func (a *FileEmbedded) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FileEmbedded) GroupBy(keyField string, inputRows ...[]*FileEmbedded) map[string][]*FileEmbedded
- func (a *FileEmbedded) InitObjects() *[]*FileEmbedded
- func (a *FileEmbedded) KeyBy(keyField string, inputRows ...[]*FileEmbedded) map[string]*FileEmbedded
- func (a *FileEmbedded) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FileEmbedded) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FileEmbedded) Name_() string
- func (a *FileEmbedded) Namer() func(string) string
- func (a *FileEmbedded) New(structName string, connID ...int) factory.Model
- func (a *FileEmbedded) NewObjects() factory.Ranger
- func (a *FileEmbedded) NewParam() *factory.Param
- func (a *FileEmbedded) Objects() []*FileEmbedded
- func (a *FileEmbedded) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FileEmbedded) Reset() *FileEmbedded
- func (a *FileEmbedded) Set(key interface{}, value ...interface{})
- func (a *FileEmbedded) SetConnID(connID int) factory.Model
- func (a *FileEmbedded) SetContext(ctx echo.Context) factory.Model
- func (a *FileEmbedded) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FileEmbedded) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FileEmbedded) SetNamer(namer func(string) string) factory.Model
- func (a *FileEmbedded) SetParam(param *factory.Param) factory.Model
- func (a *FileEmbedded) Short_() string
- func (a *FileEmbedded) Struct_() string
- func (a *FileEmbedded) Trans() *factory.Transaction
- func (a *FileEmbedded) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FileEmbedded) Use(trans *factory.Transaction) factory.Model
- func (a *FileEmbedded) Validate(field string, value interface{}) error
- type FileThumb
- func (a *FileThumb) Add() (pk interface{}, err error)
- func (a *FileThumb) AsKV(keyField string, valueField string, inputRows ...[]*FileThumb) map[string]interface{}
- func (a *FileThumb) AsMap() map[string]interface{}
- func (a *FileThumb) AsRow() map[string]interface{}
- func (a *FileThumb) BatchValidate(kvset map[string]interface{}) error
- func (a *FileThumb) CPAFrom(source factory.Model) factory.Model
- func (a *FileThumb) Context() echo.Context
- func (a *FileThumb) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FileThumb) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FileThumb) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FileThumb) EventOFF(off ...bool) factory.Model
- func (a *FileThumb) EventON(on ...bool) factory.Model
- func (a *FileThumb) FromRow(row map[string]interface{})
- func (a *FileThumb) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FileThumb) GroupBy(keyField string, inputRows ...[]*FileThumb) map[string][]*FileThumb
- func (a *FileThumb) InitObjects() *[]*FileThumb
- func (a *FileThumb) KeyBy(keyField string, inputRows ...[]*FileThumb) map[string]*FileThumb
- func (a *FileThumb) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FileThumb) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FileThumb) Name_() string
- func (a *FileThumb) Namer() func(string) string
- func (a *FileThumb) New(structName string, connID ...int) factory.Model
- func (a *FileThumb) NewObjects() factory.Ranger
- func (a *FileThumb) NewParam() *factory.Param
- func (a *FileThumb) Objects() []*FileThumb
- func (a *FileThumb) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FileThumb) Reset() *FileThumb
- func (a *FileThumb) Set(key interface{}, value ...interface{})
- func (a *FileThumb) SetConnID(connID int) factory.Model
- func (a *FileThumb) SetContext(ctx echo.Context) factory.Model
- func (a *FileThumb) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FileThumb) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FileThumb) SetNamer(namer func(string) string) factory.Model
- func (a *FileThumb) SetParam(param *factory.Param) factory.Model
- func (a *FileThumb) Short_() string
- func (a *FileThumb) Struct_() string
- func (a *FileThumb) Trans() *factory.Transaction
- func (a *FileThumb) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FileThumb) Use(trans *factory.Transaction) factory.Model
- func (a *FileThumb) Validate(field string, value interface{}) error
- type ForeverProcess
- func (a *ForeverProcess) Add() (pk interface{}, err error)
- func (a *ForeverProcess) AsKV(keyField string, valueField string, inputRows ...[]*ForeverProcess) map[string]interface{}
- func (a *ForeverProcess) AsMap() map[string]interface{}
- func (a *ForeverProcess) AsRow() map[string]interface{}
- func (a *ForeverProcess) BatchValidate(kvset map[string]interface{}) error
- func (a *ForeverProcess) CPAFrom(source factory.Model) factory.Model
- func (a *ForeverProcess) Context() echo.Context
- func (a *ForeverProcess) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *ForeverProcess) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *ForeverProcess) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *ForeverProcess) EventOFF(off ...bool) factory.Model
- func (a *ForeverProcess) EventON(on ...bool) factory.Model
- func (a *ForeverProcess) FromRow(row map[string]interface{})
- func (a *ForeverProcess) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *ForeverProcess) GroupBy(keyField string, inputRows ...[]*ForeverProcess) map[string][]*ForeverProcess
- func (a *ForeverProcess) InitObjects() *[]*ForeverProcess
- func (a *ForeverProcess) KeyBy(keyField string, inputRows ...[]*ForeverProcess) map[string]*ForeverProcess
- func (a *ForeverProcess) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *ForeverProcess) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *ForeverProcess) Name_() string
- func (a *ForeverProcess) Namer() func(string) string
- func (a *ForeverProcess) New(structName string, connID ...int) factory.Model
- func (a *ForeverProcess) NewObjects() factory.Ranger
- func (a *ForeverProcess) NewParam() *factory.Param
- func (a *ForeverProcess) Objects() []*ForeverProcess
- func (a *ForeverProcess) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *ForeverProcess) Reset() *ForeverProcess
- func (a *ForeverProcess) Set(key interface{}, value ...interface{})
- func (a *ForeverProcess) SetConnID(connID int) factory.Model
- func (a *ForeverProcess) SetContext(ctx echo.Context) factory.Model
- func (a *ForeverProcess) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *ForeverProcess) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *ForeverProcess) SetNamer(namer func(string) string) factory.Model
- func (a *ForeverProcess) SetParam(param *factory.Param) factory.Model
- func (a *ForeverProcess) Short_() string
- func (a *ForeverProcess) Struct_() string
- func (a *ForeverProcess) Trans() *factory.Transaction
- func (a *ForeverProcess) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *ForeverProcess) Use(trans *factory.Transaction) factory.Model
- func (a *ForeverProcess) Validate(field string, value interface{}) error
- type FrpClient
- func (a *FrpClient) Add() (pk interface{}, err error)
- func (a *FrpClient) AsKV(keyField string, valueField string, inputRows ...[]*FrpClient) map[string]interface{}
- func (a *FrpClient) AsMap() map[string]interface{}
- func (a *FrpClient) AsRow() map[string]interface{}
- func (a *FrpClient) BatchValidate(kvset map[string]interface{}) error
- func (a *FrpClient) CPAFrom(source factory.Model) factory.Model
- func (a *FrpClient) Context() echo.Context
- func (a *FrpClient) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FrpClient) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FrpClient) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FrpClient) EventOFF(off ...bool) factory.Model
- func (a *FrpClient) EventON(on ...bool) factory.Model
- func (a *FrpClient) FromRow(row map[string]interface{})
- func (a *FrpClient) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FrpClient) GroupBy(keyField string, inputRows ...[]*FrpClient) map[string][]*FrpClient
- func (a *FrpClient) InitObjects() *[]*FrpClient
- func (a *FrpClient) KeyBy(keyField string, inputRows ...[]*FrpClient) map[string]*FrpClient
- func (a *FrpClient) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FrpClient) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FrpClient) Name_() string
- func (a *FrpClient) Namer() func(string) string
- func (a *FrpClient) New(structName string, connID ...int) factory.Model
- func (a *FrpClient) NewObjects() factory.Ranger
- func (a *FrpClient) NewParam() *factory.Param
- func (a *FrpClient) Objects() []*FrpClient
- func (a *FrpClient) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FrpClient) Reset() *FrpClient
- func (a *FrpClient) Set(key interface{}, value ...interface{})
- func (a *FrpClient) SetConnID(connID int) factory.Model
- func (a *FrpClient) SetContext(ctx echo.Context) factory.Model
- func (a *FrpClient) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FrpClient) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FrpClient) SetNamer(namer func(string) string) factory.Model
- func (a *FrpClient) SetParam(param *factory.Param) factory.Model
- func (a *FrpClient) Short_() string
- func (a *FrpClient) Struct_() string
- func (a *FrpClient) Trans() *factory.Transaction
- func (a *FrpClient) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FrpClient) Use(trans *factory.Transaction) factory.Model
- func (a *FrpClient) Validate(field string, value interface{}) error
- type FrpGroup
- func (a *FrpGroup) Add() (pk interface{}, err error)
- func (a *FrpGroup) AsKV(keyField string, valueField string, inputRows ...[]*FrpGroup) map[string]interface{}
- func (a *FrpGroup) AsMap() map[string]interface{}
- func (a *FrpGroup) AsRow() map[string]interface{}
- func (a *FrpGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *FrpGroup) CPAFrom(source factory.Model) factory.Model
- func (a *FrpGroup) Context() echo.Context
- func (a *FrpGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FrpGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FrpGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FrpGroup) EventOFF(off ...bool) factory.Model
- func (a *FrpGroup) EventON(on ...bool) factory.Model
- func (a *FrpGroup) FromRow(row map[string]interface{})
- func (a *FrpGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FrpGroup) GroupBy(keyField string, inputRows ...[]*FrpGroup) map[string][]*FrpGroup
- func (a *FrpGroup) InitObjects() *[]*FrpGroup
- func (a *FrpGroup) KeyBy(keyField string, inputRows ...[]*FrpGroup) map[string]*FrpGroup
- func (a *FrpGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FrpGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FrpGroup) Name_() string
- func (a *FrpGroup) Namer() func(string) string
- func (a *FrpGroup) New(structName string, connID ...int) factory.Model
- func (a *FrpGroup) NewObjects() factory.Ranger
- func (a *FrpGroup) NewParam() *factory.Param
- func (a *FrpGroup) Objects() []*FrpGroup
- func (a *FrpGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FrpGroup) Reset() *FrpGroup
- func (a *FrpGroup) Set(key interface{}, value ...interface{})
- func (a *FrpGroup) SetConnID(connID int) factory.Model
- func (a *FrpGroup) SetContext(ctx echo.Context) factory.Model
- func (a *FrpGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FrpGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FrpGroup) SetNamer(namer func(string) string) factory.Model
- func (a *FrpGroup) SetParam(param *factory.Param) factory.Model
- func (a *FrpGroup) Short_() string
- func (a *FrpGroup) Struct_() string
- func (a *FrpGroup) Trans() *factory.Transaction
- func (a *FrpGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FrpGroup) Use(trans *factory.Transaction) factory.Model
- func (a *FrpGroup) Validate(field string, value interface{}) error
- type FrpServer
- func (a *FrpServer) Add() (pk interface{}, err error)
- func (a *FrpServer) AsKV(keyField string, valueField string, inputRows ...[]*FrpServer) map[string]interface{}
- func (a *FrpServer) AsMap() map[string]interface{}
- func (a *FrpServer) AsRow() map[string]interface{}
- func (a *FrpServer) BatchValidate(kvset map[string]interface{}) error
- func (a *FrpServer) CPAFrom(source factory.Model) factory.Model
- func (a *FrpServer) Context() echo.Context
- func (a *FrpServer) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FrpServer) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FrpServer) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FrpServer) EventOFF(off ...bool) factory.Model
- func (a *FrpServer) EventON(on ...bool) factory.Model
- func (a *FrpServer) FromRow(row map[string]interface{})
- func (a *FrpServer) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FrpServer) GroupBy(keyField string, inputRows ...[]*FrpServer) map[string][]*FrpServer
- func (a *FrpServer) InitObjects() *[]*FrpServer
- func (a *FrpServer) KeyBy(keyField string, inputRows ...[]*FrpServer) map[string]*FrpServer
- func (a *FrpServer) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FrpServer) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FrpServer) Name_() string
- func (a *FrpServer) Namer() func(string) string
- func (a *FrpServer) New(structName string, connID ...int) factory.Model
- func (a *FrpServer) NewObjects() factory.Ranger
- func (a *FrpServer) NewParam() *factory.Param
- func (a *FrpServer) Objects() []*FrpServer
- func (a *FrpServer) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FrpServer) Reset() *FrpServer
- func (a *FrpServer) Set(key interface{}, value ...interface{})
- func (a *FrpServer) SetConnID(connID int) factory.Model
- func (a *FrpServer) SetContext(ctx echo.Context) factory.Model
- func (a *FrpServer) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FrpServer) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FrpServer) SetNamer(namer func(string) string) factory.Model
- func (a *FrpServer) SetParam(param *factory.Param) factory.Model
- func (a *FrpServer) Short_() string
- func (a *FrpServer) Struct_() string
- func (a *FrpServer) Trans() *factory.Transaction
- func (a *FrpServer) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FrpServer) Use(trans *factory.Transaction) factory.Model
- func (a *FrpServer) Validate(field string, value interface{}) error
- type FtpUser
- func (a *FtpUser) Add() (pk interface{}, err error)
- func (a *FtpUser) AsKV(keyField string, valueField string, inputRows ...[]*FtpUser) map[string]interface{}
- func (a *FtpUser) AsMap() map[string]interface{}
- func (a *FtpUser) AsRow() map[string]interface{}
- func (a *FtpUser) BatchValidate(kvset map[string]interface{}) error
- func (a *FtpUser) CPAFrom(source factory.Model) factory.Model
- func (a *FtpUser) Context() echo.Context
- func (a *FtpUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FtpUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FtpUser) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FtpUser) EventOFF(off ...bool) factory.Model
- func (a *FtpUser) EventON(on ...bool) factory.Model
- func (a *FtpUser) FromRow(row map[string]interface{})
- func (a *FtpUser) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FtpUser) GroupBy(keyField string, inputRows ...[]*FtpUser) map[string][]*FtpUser
- func (a *FtpUser) InitObjects() *[]*FtpUser
- func (a *FtpUser) KeyBy(keyField string, inputRows ...[]*FtpUser) map[string]*FtpUser
- func (a *FtpUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FtpUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FtpUser) Name_() string
- func (a *FtpUser) Namer() func(string) string
- func (a *FtpUser) New(structName string, connID ...int) factory.Model
- func (a *FtpUser) NewObjects() factory.Ranger
- func (a *FtpUser) NewParam() *factory.Param
- func (a *FtpUser) Objects() []*FtpUser
- func (a *FtpUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FtpUser) Reset() *FtpUser
- func (a *FtpUser) Set(key interface{}, value ...interface{})
- func (a *FtpUser) SetConnID(connID int) factory.Model
- func (a *FtpUser) SetContext(ctx echo.Context) factory.Model
- func (a *FtpUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FtpUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FtpUser) SetNamer(namer func(string) string) factory.Model
- func (a *FtpUser) SetParam(param *factory.Param) factory.Model
- func (a *FtpUser) Short_() string
- func (a *FtpUser) Struct_() string
- func (a *FtpUser) Trans() *factory.Transaction
- func (a *FtpUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FtpUser) Use(trans *factory.Transaction) factory.Model
- func (a *FtpUser) Validate(field string, value interface{}) error
- type FtpUserGroup
- func (a *FtpUserGroup) Add() (pk interface{}, err error)
- func (a *FtpUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*FtpUserGroup) map[string]interface{}
- func (a *FtpUserGroup) AsMap() map[string]interface{}
- func (a *FtpUserGroup) AsRow() map[string]interface{}
- func (a *FtpUserGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *FtpUserGroup) CPAFrom(source factory.Model) factory.Model
- func (a *FtpUserGroup) Context() echo.Context
- func (a *FtpUserGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *FtpUserGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FtpUserGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *FtpUserGroup) EventOFF(off ...bool) factory.Model
- func (a *FtpUserGroup) EventON(on ...bool) factory.Model
- func (a *FtpUserGroup) FromRow(row map[string]interface{})
- func (a *FtpUserGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *FtpUserGroup) GroupBy(keyField string, inputRows ...[]*FtpUserGroup) map[string][]*FtpUserGroup
- func (a *FtpUserGroup) InitObjects() *[]*FtpUserGroup
- func (a *FtpUserGroup) KeyBy(keyField string, inputRows ...[]*FtpUserGroup) map[string]*FtpUserGroup
- func (a *FtpUserGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *FtpUserGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *FtpUserGroup) Name_() string
- func (a *FtpUserGroup) Namer() func(string) string
- func (a *FtpUserGroup) New(structName string, connID ...int) factory.Model
- func (a *FtpUserGroup) NewObjects() factory.Ranger
- func (a *FtpUserGroup) NewParam() *factory.Param
- func (a *FtpUserGroup) Objects() []*FtpUserGroup
- func (a *FtpUserGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *FtpUserGroup) Reset() *FtpUserGroup
- func (a *FtpUserGroup) Set(key interface{}, value ...interface{})
- func (a *FtpUserGroup) SetConnID(connID int) factory.Model
- func (a *FtpUserGroup) SetContext(ctx echo.Context) factory.Model
- func (a *FtpUserGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *FtpUserGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *FtpUserGroup) SetNamer(namer func(string) string) factory.Model
- func (a *FtpUserGroup) SetParam(param *factory.Param) factory.Model
- func (a *FtpUserGroup) Short_() string
- func (a *FtpUserGroup) Struct_() string
- func (a *FtpUserGroup) Trans() *factory.Transaction
- func (a *FtpUserGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *FtpUserGroup) Use(trans *factory.Transaction) factory.Model
- func (a *FtpUserGroup) Validate(field string, value interface{}) error
- type SendingLog
- func (a *SendingLog) Add() (pk interface{}, err error)
- func (a *SendingLog) AsKV(keyField string, valueField string, inputRows ...[]*SendingLog) map[string]interface{}
- func (a *SendingLog) AsMap() map[string]interface{}
- func (a *SendingLog) AsRow() map[string]interface{}
- func (a *SendingLog) BatchValidate(kvset map[string]interface{}) error
- func (a *SendingLog) CPAFrom(source factory.Model) factory.Model
- func (a *SendingLog) Context() echo.Context
- func (a *SendingLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *SendingLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *SendingLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *SendingLog) EventOFF(off ...bool) factory.Model
- func (a *SendingLog) EventON(on ...bool) factory.Model
- func (a *SendingLog) FromRow(row map[string]interface{})
- func (a *SendingLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *SendingLog) GroupBy(keyField string, inputRows ...[]*SendingLog) map[string][]*SendingLog
- func (a *SendingLog) InitObjects() *[]*SendingLog
- func (a *SendingLog) KeyBy(keyField string, inputRows ...[]*SendingLog) map[string]*SendingLog
- func (a *SendingLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *SendingLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *SendingLog) Name_() string
- func (a *SendingLog) Namer() func(string) string
- func (a *SendingLog) New(structName string, connID ...int) factory.Model
- func (a *SendingLog) NewObjects() factory.Ranger
- func (a *SendingLog) NewParam() *factory.Param
- func (a *SendingLog) Objects() []*SendingLog
- func (a *SendingLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *SendingLog) Reset() *SendingLog
- func (a *SendingLog) Set(key interface{}, value ...interface{})
- func (a *SendingLog) SetConnID(connID int) factory.Model
- func (a *SendingLog) SetContext(ctx echo.Context) factory.Model
- func (a *SendingLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *SendingLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *SendingLog) SetNamer(namer func(string) string) factory.Model
- func (a *SendingLog) SetParam(param *factory.Param) factory.Model
- func (a *SendingLog) Short_() string
- func (a *SendingLog) Struct_() string
- func (a *SendingLog) Trans() *factory.Transaction
- func (a *SendingLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *SendingLog) Use(trans *factory.Transaction) factory.Model
- func (a *SendingLog) Validate(field string, value interface{}) error
- type Slice_AccessLog
- type Slice_CloudStorage
- type Slice_CodeInvitation
- type Slice_CodeVerification
- type Slice_CollectorExport
- type Slice_CollectorExportLog
- type Slice_CollectorGroup
- type Slice_CollectorHistory
- type Slice_CollectorPage
- type Slice_CollectorRule
- type Slice_Command
- type Slice_Config
- type Slice_DbAccount
- type Slice_DbSync
- type Slice_DbSyncLog
- type Slice_File
- type Slice_FileEmbedded
- type Slice_FileThumb
- type Slice_ForeverProcess
- type Slice_FrpClient
- type Slice_FrpGroup
- type Slice_FrpServer
- type Slice_FtpUser
- type Slice_FtpUserGroup
- type Slice_SendingLog
- type Slice_SshUser
- type Slice_SshUserGroup
- type Slice_Task
- type Slice_TaskGroup
- type Slice_TaskLog
- type Slice_User
- type Slice_UserRole
- type Slice_UserU2f
- type Slice_Vhost
- type Slice_VhostGroup
- type SshUser
- func (a *SshUser) Add() (pk interface{}, err error)
- func (a *SshUser) AsKV(keyField string, valueField string, inputRows ...[]*SshUser) map[string]interface{}
- func (a *SshUser) AsMap() map[string]interface{}
- func (a *SshUser) AsRow() map[string]interface{}
- func (a *SshUser) BatchValidate(kvset map[string]interface{}) error
- func (a *SshUser) CPAFrom(source factory.Model) factory.Model
- func (a *SshUser) Context() echo.Context
- func (a *SshUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *SshUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *SshUser) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *SshUser) EventOFF(off ...bool) factory.Model
- func (a *SshUser) EventON(on ...bool) factory.Model
- func (a *SshUser) FromRow(row map[string]interface{})
- func (a *SshUser) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *SshUser) GroupBy(keyField string, inputRows ...[]*SshUser) map[string][]*SshUser
- func (a *SshUser) InitObjects() *[]*SshUser
- func (a *SshUser) KeyBy(keyField string, inputRows ...[]*SshUser) map[string]*SshUser
- func (a *SshUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *SshUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *SshUser) Name_() string
- func (a *SshUser) Namer() func(string) string
- func (a *SshUser) New(structName string, connID ...int) factory.Model
- func (a *SshUser) NewObjects() factory.Ranger
- func (a *SshUser) NewParam() *factory.Param
- func (a *SshUser) Objects() []*SshUser
- func (a *SshUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *SshUser) Reset() *SshUser
- func (a *SshUser) Set(key interface{}, value ...interface{})
- func (a *SshUser) SetConnID(connID int) factory.Model
- func (a *SshUser) SetContext(ctx echo.Context) factory.Model
- func (a *SshUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *SshUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *SshUser) SetNamer(namer func(string) string) factory.Model
- func (a *SshUser) SetParam(param *factory.Param) factory.Model
- func (a *SshUser) Short_() string
- func (a *SshUser) Struct_() string
- func (a *SshUser) Trans() *factory.Transaction
- func (a *SshUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *SshUser) Use(trans *factory.Transaction) factory.Model
- func (a *SshUser) Validate(field string, value interface{}) error
- type SshUserGroup
- func (a *SshUserGroup) Add() (pk interface{}, err error)
- func (a *SshUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*SshUserGroup) map[string]interface{}
- func (a *SshUserGroup) AsMap() map[string]interface{}
- func (a *SshUserGroup) AsRow() map[string]interface{}
- func (a *SshUserGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *SshUserGroup) CPAFrom(source factory.Model) factory.Model
- func (a *SshUserGroup) Context() echo.Context
- func (a *SshUserGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *SshUserGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *SshUserGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *SshUserGroup) EventOFF(off ...bool) factory.Model
- func (a *SshUserGroup) EventON(on ...bool) factory.Model
- func (a *SshUserGroup) FromRow(row map[string]interface{})
- func (a *SshUserGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *SshUserGroup) GroupBy(keyField string, inputRows ...[]*SshUserGroup) map[string][]*SshUserGroup
- func (a *SshUserGroup) InitObjects() *[]*SshUserGroup
- func (a *SshUserGroup) KeyBy(keyField string, inputRows ...[]*SshUserGroup) map[string]*SshUserGroup
- func (a *SshUserGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *SshUserGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *SshUserGroup) Name_() string
- func (a *SshUserGroup) Namer() func(string) string
- func (a *SshUserGroup) New(structName string, connID ...int) factory.Model
- func (a *SshUserGroup) NewObjects() factory.Ranger
- func (a *SshUserGroup) NewParam() *factory.Param
- func (a *SshUserGroup) Objects() []*SshUserGroup
- func (a *SshUserGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *SshUserGroup) Reset() *SshUserGroup
- func (a *SshUserGroup) Set(key interface{}, value ...interface{})
- func (a *SshUserGroup) SetConnID(connID int) factory.Model
- func (a *SshUserGroup) SetContext(ctx echo.Context) factory.Model
- func (a *SshUserGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *SshUserGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *SshUserGroup) SetNamer(namer func(string) string) factory.Model
- func (a *SshUserGroup) SetParam(param *factory.Param) factory.Model
- func (a *SshUserGroup) Short_() string
- func (a *SshUserGroup) Struct_() string
- func (a *SshUserGroup) Trans() *factory.Transaction
- func (a *SshUserGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *SshUserGroup) Use(trans *factory.Transaction) factory.Model
- func (a *SshUserGroup) Validate(field string, value interface{}) error
- type Task
- func (a *Task) Add() (pk interface{}, err error)
- func (a *Task) AsKV(keyField string, valueField string, inputRows ...[]*Task) map[string]interface{}
- func (a *Task) AsMap() map[string]interface{}
- func (a *Task) AsRow() map[string]interface{}
- func (a *Task) BatchValidate(kvset map[string]interface{}) error
- func (a *Task) CPAFrom(source factory.Model) factory.Model
- func (a *Task) Context() echo.Context
- func (a *Task) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *Task) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Task) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Task) EventOFF(off ...bool) factory.Model
- func (a *Task) EventON(on ...bool) factory.Model
- func (a *Task) FromRow(row map[string]interface{})
- func (a *Task) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *Task) GroupBy(keyField string, inputRows ...[]*Task) map[string][]*Task
- func (a *Task) InitObjects() *[]*Task
- func (a *Task) KeyBy(keyField string, inputRows ...[]*Task) map[string]*Task
- func (a *Task) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *Task) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *Task) Name_() string
- func (a *Task) Namer() func(string) string
- func (a *Task) New(structName string, connID ...int) factory.Model
- func (a *Task) NewObjects() factory.Ranger
- func (a *Task) NewParam() *factory.Param
- func (a *Task) Objects() []*Task
- func (a *Task) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *Task) Reset() *Task
- func (a *Task) Set(key interface{}, value ...interface{})
- func (a *Task) SetConnID(connID int) factory.Model
- func (a *Task) SetContext(ctx echo.Context) factory.Model
- func (a *Task) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *Task) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *Task) SetNamer(namer func(string) string) factory.Model
- func (a *Task) SetParam(param *factory.Param) factory.Model
- func (a *Task) Short_() string
- func (a *Task) Struct_() string
- func (a *Task) Trans() *factory.Transaction
- func (a *Task) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *Task) Use(trans *factory.Transaction) factory.Model
- func (a *Task) Validate(field string, value interface{}) error
- type TaskGroup
- func (a *TaskGroup) Add() (pk interface{}, err error)
- func (a *TaskGroup) AsKV(keyField string, valueField string, inputRows ...[]*TaskGroup) map[string]interface{}
- func (a *TaskGroup) AsMap() map[string]interface{}
- func (a *TaskGroup) AsRow() map[string]interface{}
- func (a *TaskGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *TaskGroup) CPAFrom(source factory.Model) factory.Model
- func (a *TaskGroup) Context() echo.Context
- func (a *TaskGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *TaskGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *TaskGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *TaskGroup) EventOFF(off ...bool) factory.Model
- func (a *TaskGroup) EventON(on ...bool) factory.Model
- func (a *TaskGroup) FromRow(row map[string]interface{})
- func (a *TaskGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *TaskGroup) GroupBy(keyField string, inputRows ...[]*TaskGroup) map[string][]*TaskGroup
- func (a *TaskGroup) InitObjects() *[]*TaskGroup
- func (a *TaskGroup) KeyBy(keyField string, inputRows ...[]*TaskGroup) map[string]*TaskGroup
- func (a *TaskGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *TaskGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *TaskGroup) Name_() string
- func (a *TaskGroup) Namer() func(string) string
- func (a *TaskGroup) New(structName string, connID ...int) factory.Model
- func (a *TaskGroup) NewObjects() factory.Ranger
- func (a *TaskGroup) NewParam() *factory.Param
- func (a *TaskGroup) Objects() []*TaskGroup
- func (a *TaskGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *TaskGroup) Reset() *TaskGroup
- func (a *TaskGroup) Set(key interface{}, value ...interface{})
- func (a *TaskGroup) SetConnID(connID int) factory.Model
- func (a *TaskGroup) SetContext(ctx echo.Context) factory.Model
- func (a *TaskGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *TaskGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *TaskGroup) SetNamer(namer func(string) string) factory.Model
- func (a *TaskGroup) SetParam(param *factory.Param) factory.Model
- func (a *TaskGroup) Short_() string
- func (a *TaskGroup) Struct_() string
- func (a *TaskGroup) Trans() *factory.Transaction
- func (a *TaskGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *TaskGroup) Use(trans *factory.Transaction) factory.Model
- func (a *TaskGroup) Validate(field string, value interface{}) error
- type TaskLog
- func (a *TaskLog) Add() (pk interface{}, err error)
- func (a *TaskLog) AsKV(keyField string, valueField string, inputRows ...[]*TaskLog) map[string]interface{}
- func (a *TaskLog) AsMap() map[string]interface{}
- func (a *TaskLog) AsRow() map[string]interface{}
- func (a *TaskLog) BatchValidate(kvset map[string]interface{}) error
- func (a *TaskLog) CPAFrom(source factory.Model) factory.Model
- func (a *TaskLog) Context() echo.Context
- func (a *TaskLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *TaskLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *TaskLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *TaskLog) EventOFF(off ...bool) factory.Model
- func (a *TaskLog) EventON(on ...bool) factory.Model
- func (a *TaskLog) FromRow(row map[string]interface{})
- func (a *TaskLog) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *TaskLog) GroupBy(keyField string, inputRows ...[]*TaskLog) map[string][]*TaskLog
- func (a *TaskLog) InitObjects() *[]*TaskLog
- func (a *TaskLog) KeyBy(keyField string, inputRows ...[]*TaskLog) map[string]*TaskLog
- func (a *TaskLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *TaskLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *TaskLog) Name_() string
- func (a *TaskLog) Namer() func(string) string
- func (a *TaskLog) New(structName string, connID ...int) factory.Model
- func (a *TaskLog) NewObjects() factory.Ranger
- func (a *TaskLog) NewParam() *factory.Param
- func (a *TaskLog) Objects() []*TaskLog
- func (a *TaskLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *TaskLog) Reset() *TaskLog
- func (a *TaskLog) Set(key interface{}, value ...interface{})
- func (a *TaskLog) SetConnID(connID int) factory.Model
- func (a *TaskLog) SetContext(ctx echo.Context) factory.Model
- func (a *TaskLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *TaskLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *TaskLog) SetNamer(namer func(string) string) factory.Model
- func (a *TaskLog) SetParam(param *factory.Param) factory.Model
- func (a *TaskLog) Short_() string
- func (a *TaskLog) Struct_() string
- func (a *TaskLog) Trans() *factory.Transaction
- func (a *TaskLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *TaskLog) Use(trans *factory.Transaction) factory.Model
- func (a *TaskLog) Validate(field string, value interface{}) error
- type User
- func (a *User) Add() (pk interface{}, err error)
- func (a *User) AsKV(keyField string, valueField string, inputRows ...[]*User) map[string]interface{}
- func (a *User) AsMap() map[string]interface{}
- func (a *User) AsRow() map[string]interface{}
- func (a *User) BatchValidate(kvset map[string]interface{}) error
- func (a *User) CPAFrom(source factory.Model) factory.Model
- func (a *User) Context() echo.Context
- func (a *User) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *User) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *User) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *User) EventOFF(off ...bool) factory.Model
- func (a *User) EventON(on ...bool) factory.Model
- func (a *User) FromRow(row map[string]interface{})
- func (a *User) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *User) GroupBy(keyField string, inputRows ...[]*User) map[string][]*User
- func (a *User) InitObjects() *[]*User
- func (a *User) KeyBy(keyField string, inputRows ...[]*User) map[string]*User
- func (a *User) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *User) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *User) Name_() string
- func (a *User) Namer() func(string) string
- func (a *User) New(structName string, connID ...int) factory.Model
- func (a *User) NewObjects() factory.Ranger
- func (a *User) NewParam() *factory.Param
- func (a *User) Objects() []*User
- func (a *User) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *User) Reset() *User
- func (a *User) Set(key interface{}, value ...interface{})
- func (a *User) SetConnID(connID int) factory.Model
- func (a *User) SetContext(ctx echo.Context) factory.Model
- func (a *User) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *User) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *User) SetNamer(namer func(string) string) factory.Model
- func (a *User) SetParam(param *factory.Param) factory.Model
- func (a *User) Short_() string
- func (a *User) Struct_() string
- func (a *User) Trans() *factory.Transaction
- func (a *User) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *User) Use(trans *factory.Transaction) factory.Model
- func (a *User) Validate(field string, value interface{}) error
- type UserRole
- func (a *UserRole) Add() (pk interface{}, err error)
- func (a *UserRole) AsKV(keyField string, valueField string, inputRows ...[]*UserRole) map[string]interface{}
- func (a *UserRole) AsMap() map[string]interface{}
- func (a *UserRole) AsRow() map[string]interface{}
- func (a *UserRole) BatchValidate(kvset map[string]interface{}) error
- func (a *UserRole) CPAFrom(source factory.Model) factory.Model
- func (a *UserRole) Context() echo.Context
- func (a *UserRole) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *UserRole) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *UserRole) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *UserRole) EventOFF(off ...bool) factory.Model
- func (a *UserRole) EventON(on ...bool) factory.Model
- func (a *UserRole) FromRow(row map[string]interface{})
- func (a *UserRole) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *UserRole) GroupBy(keyField string, inputRows ...[]*UserRole) map[string][]*UserRole
- func (a *UserRole) InitObjects() *[]*UserRole
- func (a *UserRole) KeyBy(keyField string, inputRows ...[]*UserRole) map[string]*UserRole
- func (a *UserRole) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *UserRole) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *UserRole) Name_() string
- func (a *UserRole) Namer() func(string) string
- func (a *UserRole) New(structName string, connID ...int) factory.Model
- func (a *UserRole) NewObjects() factory.Ranger
- func (a *UserRole) NewParam() *factory.Param
- func (a *UserRole) Objects() []*UserRole
- func (a *UserRole) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *UserRole) Reset() *UserRole
- func (a *UserRole) Set(key interface{}, value ...interface{})
- func (a *UserRole) SetConnID(connID int) factory.Model
- func (a *UserRole) SetContext(ctx echo.Context) factory.Model
- func (a *UserRole) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *UserRole) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *UserRole) SetNamer(namer func(string) string) factory.Model
- func (a *UserRole) SetParam(param *factory.Param) factory.Model
- func (a *UserRole) Short_() string
- func (a *UserRole) Struct_() string
- func (a *UserRole) Trans() *factory.Transaction
- func (a *UserRole) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *UserRole) Use(trans *factory.Transaction) factory.Model
- func (a *UserRole) Validate(field string, value interface{}) error
- type UserU2f
- func (a *UserU2f) Add() (pk interface{}, err error)
- func (a *UserU2f) AsKV(keyField string, valueField string, inputRows ...[]*UserU2f) map[string]interface{}
- func (a *UserU2f) AsMap() map[string]interface{}
- func (a *UserU2f) AsRow() map[string]interface{}
- func (a *UserU2f) BatchValidate(kvset map[string]interface{}) error
- func (a *UserU2f) CPAFrom(source factory.Model) factory.Model
- func (a *UserU2f) Context() echo.Context
- func (a *UserU2f) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *UserU2f) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *UserU2f) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *UserU2f) EventOFF(off ...bool) factory.Model
- func (a *UserU2f) EventON(on ...bool) factory.Model
- func (a *UserU2f) FromRow(row map[string]interface{})
- func (a *UserU2f) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *UserU2f) GroupBy(keyField string, inputRows ...[]*UserU2f) map[string][]*UserU2f
- func (a *UserU2f) InitObjects() *[]*UserU2f
- func (a *UserU2f) KeyBy(keyField string, inputRows ...[]*UserU2f) map[string]*UserU2f
- func (a *UserU2f) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *UserU2f) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *UserU2f) Name_() string
- func (a *UserU2f) Namer() func(string) string
- func (a *UserU2f) New(structName string, connID ...int) factory.Model
- func (a *UserU2f) NewObjects() factory.Ranger
- func (a *UserU2f) NewParam() *factory.Param
- func (a *UserU2f) Objects() []*UserU2f
- func (a *UserU2f) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *UserU2f) Reset() *UserU2f
- func (a *UserU2f) Set(key interface{}, value ...interface{})
- func (a *UserU2f) SetConnID(connID int) factory.Model
- func (a *UserU2f) SetContext(ctx echo.Context) factory.Model
- func (a *UserU2f) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *UserU2f) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *UserU2f) SetNamer(namer func(string) string) factory.Model
- func (a *UserU2f) SetParam(param *factory.Param) factory.Model
- func (a *UserU2f) Short_() string
- func (a *UserU2f) Struct_() string
- func (a *UserU2f) Trans() *factory.Transaction
- func (a *UserU2f) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *UserU2f) Use(trans *factory.Transaction) factory.Model
- func (a *UserU2f) Validate(field string, value interface{}) error
- type Vhost
- func (a *Vhost) Add() (pk interface{}, err error)
- func (a *Vhost) AsKV(keyField string, valueField string, inputRows ...[]*Vhost) map[string]interface{}
- func (a *Vhost) AsMap() map[string]interface{}
- func (a *Vhost) AsRow() map[string]interface{}
- func (a *Vhost) BatchValidate(kvset map[string]interface{}) error
- func (a *Vhost) CPAFrom(source factory.Model) factory.Model
- func (a *Vhost) Context() echo.Context
- func (a *Vhost) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *Vhost) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Vhost) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *Vhost) EventOFF(off ...bool) factory.Model
- func (a *Vhost) EventON(on ...bool) factory.Model
- func (a *Vhost) FromRow(row map[string]interface{})
- func (a *Vhost) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *Vhost) GroupBy(keyField string, inputRows ...[]*Vhost) map[string][]*Vhost
- func (a *Vhost) InitObjects() *[]*Vhost
- func (a *Vhost) KeyBy(keyField string, inputRows ...[]*Vhost) map[string]*Vhost
- func (a *Vhost) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *Vhost) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *Vhost) Name_() string
- func (a *Vhost) Namer() func(string) string
- func (a *Vhost) New(structName string, connID ...int) factory.Model
- func (a *Vhost) NewObjects() factory.Ranger
- func (a *Vhost) NewParam() *factory.Param
- func (a *Vhost) Objects() []*Vhost
- func (a *Vhost) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *Vhost) Reset() *Vhost
- func (a *Vhost) Set(key interface{}, value ...interface{})
- func (a *Vhost) SetConnID(connID int) factory.Model
- func (a *Vhost) SetContext(ctx echo.Context) factory.Model
- func (a *Vhost) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *Vhost) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *Vhost) SetNamer(namer func(string) string) factory.Model
- func (a *Vhost) SetParam(param *factory.Param) factory.Model
- func (a *Vhost) Short_() string
- func (a *Vhost) Struct_() string
- func (a *Vhost) Trans() *factory.Transaction
- func (a *Vhost) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *Vhost) Use(trans *factory.Transaction) factory.Model
- func (a *Vhost) Validate(field string, value interface{}) error
- type VhostGroup
- func (a *VhostGroup) Add() (pk interface{}, err error)
- func (a *VhostGroup) AsKV(keyField string, valueField string, inputRows ...[]*VhostGroup) map[string]interface{}
- func (a *VhostGroup) AsMap() map[string]interface{}
- func (a *VhostGroup) AsRow() map[string]interface{}
- func (a *VhostGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *VhostGroup) CPAFrom(source factory.Model) factory.Model
- func (a *VhostGroup) Context() echo.Context
- func (a *VhostGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *VhostGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *VhostGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *VhostGroup) EventOFF(off ...bool) factory.Model
- func (a *VhostGroup) EventON(on ...bool) factory.Model
- func (a *VhostGroup) FromRow(row map[string]interface{})
- func (a *VhostGroup) Get(mw func(db.Result) db.Result, args ...interface{}) error
- func (a *VhostGroup) GroupBy(keyField string, inputRows ...[]*VhostGroup) map[string][]*VhostGroup
- func (a *VhostGroup) InitObjects() *[]*VhostGroup
- func (a *VhostGroup) KeyBy(keyField string, inputRows ...[]*VhostGroup) map[string]*VhostGroup
- func (a *VhostGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *VhostGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *VhostGroup) Name_() string
- func (a *VhostGroup) Namer() func(string) string
- func (a *VhostGroup) New(structName string, connID ...int) factory.Model
- func (a *VhostGroup) NewObjects() factory.Ranger
- func (a *VhostGroup) NewParam() *factory.Param
- func (a *VhostGroup) Objects() []*VhostGroup
- func (a *VhostGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *VhostGroup) Reset() *VhostGroup
- func (a *VhostGroup) Set(key interface{}, value ...interface{})
- func (a *VhostGroup) SetConnID(connID int) factory.Model
- func (a *VhostGroup) SetContext(ctx echo.Context) factory.Model
- func (a *VhostGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *VhostGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *VhostGroup) SetNamer(namer func(string) string) factory.Model
- func (a *VhostGroup) SetParam(param *factory.Param) factory.Model
- func (a *VhostGroup) Short_() string
- func (a *VhostGroup) Struct_() string
- func (a *VhostGroup) Trans() *factory.Transaction
- func (a *VhostGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *VhostGroup) Use(trans *factory.Transaction) factory.Model
- func (a *VhostGroup) Validate(field string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DBI = factory.DefaultDBI
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 }
AccessLog
func (*AccessLog) BatchValidate ¶
func (*AccessLog) InitObjects ¶
func (*AccessLog) ListByOffset ¶
func (*AccessLog) NewObjects ¶
func (*AccessLog) Trans ¶
func (a *AccessLog) Trans() *factory.Transaction
type CloudStorage ¶
type CloudStorage 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"` Type string `db:"type" bson:"type" comment:"存储类型(aws,oss,cos)" json:"type" xml:"type"` Key string `db:"key" bson:"key" comment:"key" json:"key" xml:"key"` Secret string `db:"secret" bson:"secret" comment:"密钥(加密处理)" json:"secret" xml:"secret"` Bucket string `db:"bucket" bson:"bucket" comment:"存储桶" json:"bucket" xml:"bucket"` Endpoint string `db:"endpoint" bson:"endpoint" comment:"地域节点" json:"endpoint" xml:"endpoint"` Region string `db:"region" bson:"region" comment:"地区" json:"region" xml:"region"` Secure string `db:"secure" bson:"secure" comment:"是否(Y/N)HTTPS" json:"secure" xml:"secure"` Baseurl string `db:"baseurl" bson:"baseurl" comment:"资源基础网址" json:"baseurl" xml:"baseurl"` 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 }
CloudStorage 云存储账号
func (*CloudStorage) Add ¶
func (a *CloudStorage) Add() (pk interface{}, err error)
func (*CloudStorage) AsKV ¶
func (a *CloudStorage) AsKV(keyField string, valueField string, inputRows ...[]*CloudStorage) map[string]interface{}
func (*CloudStorage) AsMap ¶
func (a *CloudStorage) AsMap() map[string]interface{}
func (*CloudStorage) AsRow ¶
func (a *CloudStorage) AsRow() map[string]interface{}
func (*CloudStorage) BatchValidate ¶
func (a *CloudStorage) BatchValidate(kvset map[string]interface{}) error
func (*CloudStorage) Context ¶
func (a *CloudStorage) Context() echo.Context
func (*CloudStorage) FromRow ¶
func (a *CloudStorage) FromRow(row map[string]interface{})
func (*CloudStorage) GroupBy ¶
func (a *CloudStorage) GroupBy(keyField string, inputRows ...[]*CloudStorage) map[string][]*CloudStorage
func (*CloudStorage) InitObjects ¶
func (a *CloudStorage) InitObjects() *[]*CloudStorage
func (*CloudStorage) KeyBy ¶
func (a *CloudStorage) KeyBy(keyField string, inputRows ...[]*CloudStorage) map[string]*CloudStorage
func (*CloudStorage) ListByOffset ¶
func (*CloudStorage) Name_ ¶
func (a *CloudStorage) Name_() string
func (*CloudStorage) Namer ¶
func (a *CloudStorage) Namer() func(string) string
func (*CloudStorage) New ¶
func (a *CloudStorage) New(structName string, connID ...int) factory.Model
func (*CloudStorage) NewObjects ¶
func (a *CloudStorage) NewObjects() factory.Ranger
func (*CloudStorage) NewParam ¶
func (a *CloudStorage) NewParam() *factory.Param
func (*CloudStorage) Objects ¶
func (a *CloudStorage) Objects() []*CloudStorage
func (*CloudStorage) Reset ¶
func (a *CloudStorage) Reset() *CloudStorage
func (*CloudStorage) Set ¶
func (a *CloudStorage) Set(key interface{}, value ...interface{})
func (*CloudStorage) SetContext ¶
func (a *CloudStorage) SetContext(ctx echo.Context) factory.Model
func (*CloudStorage) SetNamer ¶
func (a *CloudStorage) SetNamer(namer func(string) string) factory.Model
func (*CloudStorage) Short_ ¶
func (a *CloudStorage) Short_() string
func (*CloudStorage) Struct_ ¶
func (a *CloudStorage) Struct_() string
func (*CloudStorage) Trans ¶
func (a *CloudStorage) Trans() *factory.Transaction
func (*CloudStorage) Use ¶
func (a *CloudStorage) Use(trans *factory.Transaction) factory.Model
func (*CloudStorage) Validate ¶
func (a *CloudStorage) Validate(field string, value interface{}) error
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 }
CodeInvitation 邀请码
func (*CodeInvitation) Add ¶
func (a *CodeInvitation) Add() (pk interface{}, err error)
func (*CodeInvitation) AsKV ¶
func (a *CodeInvitation) AsKV(keyField string, valueField string, inputRows ...[]*CodeInvitation) map[string]interface{}
func (*CodeInvitation) AsMap ¶
func (a *CodeInvitation) AsMap() map[string]interface{}
func (*CodeInvitation) AsRow ¶
func (a *CodeInvitation) AsRow() map[string]interface{}
func (*CodeInvitation) BatchValidate ¶
func (a *CodeInvitation) BatchValidate(kvset map[string]interface{}) error
func (*CodeInvitation) CPAFrom ¶
func (a *CodeInvitation) CPAFrom(source factory.Model) factory.Model
func (*CodeInvitation) Context ¶
func (a *CodeInvitation) Context() echo.Context
func (*CodeInvitation) FromRow ¶
func (a *CodeInvitation) FromRow(row map[string]interface{})
func (*CodeInvitation) GroupBy ¶
func (a *CodeInvitation) GroupBy(keyField string, inputRows ...[]*CodeInvitation) map[string][]*CodeInvitation
func (*CodeInvitation) InitObjects ¶
func (a *CodeInvitation) InitObjects() *[]*CodeInvitation
func (*CodeInvitation) KeyBy ¶
func (a *CodeInvitation) KeyBy(keyField string, inputRows ...[]*CodeInvitation) map[string]*CodeInvitation
func (*CodeInvitation) ListByOffset ¶
func (*CodeInvitation) Name_ ¶
func (a *CodeInvitation) Name_() string
func (*CodeInvitation) Namer ¶
func (a *CodeInvitation) Namer() func(string) string
func (*CodeInvitation) New ¶
func (a *CodeInvitation) New(structName string, connID ...int) factory.Model
func (*CodeInvitation) NewObjects ¶
func (a *CodeInvitation) NewObjects() factory.Ranger
func (*CodeInvitation) NewParam ¶
func (a *CodeInvitation) NewParam() *factory.Param
func (*CodeInvitation) Objects ¶
func (a *CodeInvitation) Objects() []*CodeInvitation
func (*CodeInvitation) Reset ¶
func (a *CodeInvitation) Reset() *CodeInvitation
func (*CodeInvitation) Set ¶
func (a *CodeInvitation) Set(key interface{}, value ...interface{})
func (*CodeInvitation) SetContext ¶
func (a *CodeInvitation) SetContext(ctx echo.Context) factory.Model
func (*CodeInvitation) SetNamer ¶
func (a *CodeInvitation) SetNamer(namer func(string) string) factory.Model
func (*CodeInvitation) SetParam ¶
func (a *CodeInvitation) SetParam(param *factory.Param) factory.Model
func (*CodeInvitation) Short_ ¶
func (a *CodeInvitation) Short_() string
func (*CodeInvitation) Struct_ ¶
func (a *CodeInvitation) Struct_() string
func (*CodeInvitation) Trans ¶
func (a *CodeInvitation) Trans() *factory.Transaction
func (*CodeInvitation) Use ¶
func (a *CodeInvitation) Use(trans *factory.Transaction) factory.Model
func (*CodeInvitation) Validate ¶
func (a *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 }
CodeVerification 验证码
func (*CodeVerification) Add ¶
func (a *CodeVerification) Add() (pk interface{}, err error)
func (*CodeVerification) AsKV ¶
func (a *CodeVerification) AsKV(keyField string, valueField string, inputRows ...[]*CodeVerification) map[string]interface{}
func (*CodeVerification) AsMap ¶
func (a *CodeVerification) AsMap() map[string]interface{}
func (*CodeVerification) AsRow ¶
func (a *CodeVerification) AsRow() map[string]interface{}
func (*CodeVerification) BatchValidate ¶
func (a *CodeVerification) BatchValidate(kvset map[string]interface{}) error
func (*CodeVerification) CPAFrom ¶
func (a *CodeVerification) CPAFrom(source factory.Model) factory.Model
func (*CodeVerification) Context ¶
func (a *CodeVerification) Context() echo.Context
func (*CodeVerification) FromRow ¶
func (a *CodeVerification) FromRow(row map[string]interface{})
func (*CodeVerification) GroupBy ¶
func (a *CodeVerification) GroupBy(keyField string, inputRows ...[]*CodeVerification) map[string][]*CodeVerification
func (*CodeVerification) InitObjects ¶
func (a *CodeVerification) InitObjects() *[]*CodeVerification
func (*CodeVerification) KeyBy ¶
func (a *CodeVerification) KeyBy(keyField string, inputRows ...[]*CodeVerification) map[string]*CodeVerification
func (*CodeVerification) ListByOffset ¶
func (*CodeVerification) Name_ ¶
func (a *CodeVerification) Name_() string
func (*CodeVerification) Namer ¶
func (a *CodeVerification) Namer() func(string) string
func (*CodeVerification) New ¶
func (a *CodeVerification) New(structName string, connID ...int) factory.Model
func (*CodeVerification) NewObjects ¶
func (a *CodeVerification) NewObjects() factory.Ranger
func (*CodeVerification) NewParam ¶
func (a *CodeVerification) NewParam() *factory.Param
func (*CodeVerification) Objects ¶
func (a *CodeVerification) Objects() []*CodeVerification
func (*CodeVerification) Reset ¶
func (a *CodeVerification) Reset() *CodeVerification
func (*CodeVerification) Set ¶
func (a *CodeVerification) Set(key interface{}, value ...interface{})
func (*CodeVerification) SetContext ¶
func (a *CodeVerification) SetContext(ctx echo.Context) factory.Model
func (*CodeVerification) SetNamer ¶
func (a *CodeVerification) SetNamer(namer func(string) string) factory.Model
func (*CodeVerification) SetParam ¶
func (a *CodeVerification) SetParam(param *factory.Param) factory.Model
func (*CodeVerification) Short_ ¶
func (a *CodeVerification) Short_() string
func (*CodeVerification) Struct_ ¶
func (a *CodeVerification) Struct_() string
func (*CodeVerification) Trans ¶
func (a *CodeVerification) Trans() *factory.Transaction
func (*CodeVerification) Use ¶
func (a *CodeVerification) Use(trans *factory.Transaction) factory.Model
func (*CodeVerification) Validate ¶
func (a *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 }
CollectorExport 导出规则
func (*CollectorExport) Add ¶
func (a *CollectorExport) Add() (pk interface{}, err error)
func (*CollectorExport) AsKV ¶
func (a *CollectorExport) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExport) map[string]interface{}
func (*CollectorExport) AsMap ¶
func (a *CollectorExport) AsMap() map[string]interface{}
func (*CollectorExport) AsRow ¶
func (a *CollectorExport) AsRow() map[string]interface{}
func (*CollectorExport) BatchValidate ¶
func (a *CollectorExport) BatchValidate(kvset map[string]interface{}) error
func (*CollectorExport) CPAFrom ¶
func (a *CollectorExport) CPAFrom(source factory.Model) factory.Model
func (*CollectorExport) Context ¶
func (a *CollectorExport) Context() echo.Context
func (*CollectorExport) FromRow ¶
func (a *CollectorExport) FromRow(row map[string]interface{})
func (*CollectorExport) GroupBy ¶
func (a *CollectorExport) GroupBy(keyField string, inputRows ...[]*CollectorExport) map[string][]*CollectorExport
func (*CollectorExport) InitObjects ¶
func (a *CollectorExport) InitObjects() *[]*CollectorExport
func (*CollectorExport) KeyBy ¶
func (a *CollectorExport) KeyBy(keyField string, inputRows ...[]*CollectorExport) map[string]*CollectorExport
func (*CollectorExport) ListByOffset ¶
func (*CollectorExport) Name_ ¶
func (a *CollectorExport) Name_() string
func (*CollectorExport) Namer ¶
func (a *CollectorExport) Namer() func(string) string
func (*CollectorExport) New ¶
func (a *CollectorExport) New(structName string, connID ...int) factory.Model
func (*CollectorExport) NewObjects ¶
func (a *CollectorExport) NewObjects() factory.Ranger
func (*CollectorExport) NewParam ¶
func (a *CollectorExport) NewParam() *factory.Param
func (*CollectorExport) Objects ¶
func (a *CollectorExport) Objects() []*CollectorExport
func (*CollectorExport) Reset ¶
func (a *CollectorExport) Reset() *CollectorExport
func (*CollectorExport) Set ¶
func (a *CollectorExport) Set(key interface{}, value ...interface{})
func (*CollectorExport) SetContext ¶
func (a *CollectorExport) SetContext(ctx echo.Context) factory.Model
func (*CollectorExport) SetNamer ¶
func (a *CollectorExport) SetNamer(namer func(string) string) factory.Model
func (*CollectorExport) SetParam ¶
func (a *CollectorExport) SetParam(param *factory.Param) factory.Model
func (*CollectorExport) Short_ ¶
func (a *CollectorExport) Short_() string
func (*CollectorExport) Struct_ ¶
func (a *CollectorExport) Struct_() string
func (*CollectorExport) Trans ¶
func (a *CollectorExport) Trans() *factory.Transaction
func (*CollectorExport) Use ¶
func (a *CollectorExport) Use(trans *factory.Transaction) factory.Model
func (*CollectorExport) Validate ¶
func (a *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 }
CollectorExportLog 导出日志
func (*CollectorExportLog) Add ¶
func (a *CollectorExportLog) Add() (pk interface{}, err error)
func (*CollectorExportLog) AsKV ¶
func (a *CollectorExportLog) AsKV(keyField string, valueField string, inputRows ...[]*CollectorExportLog) map[string]interface{}
func (*CollectorExportLog) AsMap ¶
func (a *CollectorExportLog) AsMap() map[string]interface{}
func (*CollectorExportLog) AsRow ¶
func (a *CollectorExportLog) AsRow() map[string]interface{}
func (*CollectorExportLog) BatchValidate ¶
func (a *CollectorExportLog) BatchValidate(kvset map[string]interface{}) error
func (*CollectorExportLog) CPAFrom ¶
func (a *CollectorExportLog) CPAFrom(source factory.Model) factory.Model
func (*CollectorExportLog) Context ¶
func (a *CollectorExportLog) Context() echo.Context
func (*CollectorExportLog) EventOFF ¶
func (a *CollectorExportLog) EventOFF(off ...bool) factory.Model
func (*CollectorExportLog) FromRow ¶
func (a *CollectorExportLog) FromRow(row map[string]interface{})
func (*CollectorExportLog) GroupBy ¶
func (a *CollectorExportLog) GroupBy(keyField string, inputRows ...[]*CollectorExportLog) map[string][]*CollectorExportLog
func (*CollectorExportLog) InitObjects ¶
func (a *CollectorExportLog) InitObjects() *[]*CollectorExportLog
func (*CollectorExportLog) KeyBy ¶
func (a *CollectorExportLog) KeyBy(keyField string, inputRows ...[]*CollectorExportLog) map[string]*CollectorExportLog
func (*CollectorExportLog) ListByOffset ¶
func (*CollectorExportLog) Name_ ¶
func (a *CollectorExportLog) Name_() string
func (*CollectorExportLog) Namer ¶
func (a *CollectorExportLog) Namer() func(string) string
func (*CollectorExportLog) New ¶
func (a *CollectorExportLog) New(structName string, connID ...int) factory.Model
func (*CollectorExportLog) NewObjects ¶
func (a *CollectorExportLog) NewObjects() factory.Ranger
func (*CollectorExportLog) NewParam ¶
func (a *CollectorExportLog) NewParam() *factory.Param
func (*CollectorExportLog) Objects ¶
func (a *CollectorExportLog) Objects() []*CollectorExportLog
func (*CollectorExportLog) Reset ¶
func (a *CollectorExportLog) Reset() *CollectorExportLog
func (*CollectorExportLog) Set ¶
func (a *CollectorExportLog) Set(key interface{}, value ...interface{})
func (*CollectorExportLog) SetConnID ¶
func (a *CollectorExportLog) SetConnID(connID int) factory.Model
func (*CollectorExportLog) SetContext ¶
func (a *CollectorExportLog) SetContext(ctx echo.Context) factory.Model
func (*CollectorExportLog) SetNamer ¶
func (a *CollectorExportLog) SetNamer(namer func(string) string) factory.Model
func (*CollectorExportLog) SetParam ¶
func (a *CollectorExportLog) SetParam(param *factory.Param) factory.Model
func (*CollectorExportLog) Short_ ¶
func (a *CollectorExportLog) Short_() string
func (*CollectorExportLog) Struct_ ¶
func (a *CollectorExportLog) Struct_() string
func (*CollectorExportLog) Trans ¶
func (a *CollectorExportLog) Trans() *factory.Transaction
func (*CollectorExportLog) Use ¶
func (a *CollectorExportLog) Use(trans *factory.Transaction) factory.Model
func (*CollectorExportLog) Validate ¶
func (a *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 }
CollectorGroup 采集规则组
func (*CollectorGroup) Add ¶
func (a *CollectorGroup) Add() (pk interface{}, err error)
func (*CollectorGroup) AsKV ¶
func (a *CollectorGroup) AsKV(keyField string, valueField string, inputRows ...[]*CollectorGroup) map[string]interface{}
func (*CollectorGroup) AsMap ¶
func (a *CollectorGroup) AsMap() map[string]interface{}
func (*CollectorGroup) AsRow ¶
func (a *CollectorGroup) AsRow() map[string]interface{}
func (*CollectorGroup) BatchValidate ¶
func (a *CollectorGroup) BatchValidate(kvset map[string]interface{}) error
func (*CollectorGroup) CPAFrom ¶
func (a *CollectorGroup) CPAFrom(source factory.Model) factory.Model
func (*CollectorGroup) Context ¶
func (a *CollectorGroup) Context() echo.Context
func (*CollectorGroup) FromRow ¶
func (a *CollectorGroup) FromRow(row map[string]interface{})
func (*CollectorGroup) GroupBy ¶
func (a *CollectorGroup) GroupBy(keyField string, inputRows ...[]*CollectorGroup) map[string][]*CollectorGroup
func (*CollectorGroup) InitObjects ¶
func (a *CollectorGroup) InitObjects() *[]*CollectorGroup
func (*CollectorGroup) KeyBy ¶
func (a *CollectorGroup) KeyBy(keyField string, inputRows ...[]*CollectorGroup) map[string]*CollectorGroup
func (*CollectorGroup) ListByOffset ¶
func (*CollectorGroup) Name_ ¶
func (a *CollectorGroup) Name_() string
func (*CollectorGroup) Namer ¶
func (a *CollectorGroup) Namer() func(string) string
func (*CollectorGroup) New ¶
func (a *CollectorGroup) New(structName string, connID ...int) factory.Model
func (*CollectorGroup) NewObjects ¶
func (a *CollectorGroup) NewObjects() factory.Ranger
func (*CollectorGroup) NewParam ¶
func (a *CollectorGroup) NewParam() *factory.Param
func (*CollectorGroup) Objects ¶
func (a *CollectorGroup) Objects() []*CollectorGroup
func (*CollectorGroup) Reset ¶
func (a *CollectorGroup) Reset() *CollectorGroup
func (*CollectorGroup) Set ¶
func (a *CollectorGroup) Set(key interface{}, value ...interface{})
func (*CollectorGroup) SetContext ¶
func (a *CollectorGroup) SetContext(ctx echo.Context) factory.Model
func (*CollectorGroup) SetNamer ¶
func (a *CollectorGroup) SetNamer(namer func(string) string) factory.Model
func (*CollectorGroup) SetParam ¶
func (a *CollectorGroup) SetParam(param *factory.Param) factory.Model
func (*CollectorGroup) Short_ ¶
func (a *CollectorGroup) Short_() string
func (*CollectorGroup) Struct_ ¶
func (a *CollectorGroup) Struct_() string
func (*CollectorGroup) Trans ¶
func (a *CollectorGroup) Trans() *factory.Transaction
func (*CollectorGroup) Use ¶
func (a *CollectorGroup) Use(trans *factory.Transaction) factory.Model
func (*CollectorGroup) Validate ¶
func (a *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 }
CollectorHistory 采集历史
func (*CollectorHistory) Add ¶
func (a *CollectorHistory) Add() (pk interface{}, err error)
func (*CollectorHistory) AsKV ¶
func (a *CollectorHistory) AsKV(keyField string, valueField string, inputRows ...[]*CollectorHistory) map[string]interface{}
func (*CollectorHistory) AsMap ¶
func (a *CollectorHistory) AsMap() map[string]interface{}
func (*CollectorHistory) AsRow ¶
func (a *CollectorHistory) AsRow() map[string]interface{}
func (*CollectorHistory) BatchValidate ¶
func (a *CollectorHistory) BatchValidate(kvset map[string]interface{}) error
func (*CollectorHistory) CPAFrom ¶
func (a *CollectorHistory) CPAFrom(source factory.Model) factory.Model
func (*CollectorHistory) Context ¶
func (a *CollectorHistory) Context() echo.Context
func (*CollectorHistory) FromRow ¶
func (a *CollectorHistory) FromRow(row map[string]interface{})
func (*CollectorHistory) GroupBy ¶
func (a *CollectorHistory) GroupBy(keyField string, inputRows ...[]*CollectorHistory) map[string][]*CollectorHistory
func (*CollectorHistory) InitObjects ¶
func (a *CollectorHistory) InitObjects() *[]*CollectorHistory
func (*CollectorHistory) KeyBy ¶
func (a *CollectorHistory) KeyBy(keyField string, inputRows ...[]*CollectorHistory) map[string]*CollectorHistory
func (*CollectorHistory) ListByOffset ¶
func (*CollectorHistory) Name_ ¶
func (a *CollectorHistory) Name_() string
func (*CollectorHistory) Namer ¶
func (a *CollectorHistory) Namer() func(string) string
func (*CollectorHistory) New ¶
func (a *CollectorHistory) New(structName string, connID ...int) factory.Model
func (*CollectorHistory) NewObjects ¶
func (a *CollectorHistory) NewObjects() factory.Ranger
func (*CollectorHistory) NewParam ¶
func (a *CollectorHistory) NewParam() *factory.Param
func (*CollectorHistory) Objects ¶
func (a *CollectorHistory) Objects() []*CollectorHistory
func (*CollectorHistory) Reset ¶
func (a *CollectorHistory) Reset() *CollectorHistory
func (*CollectorHistory) Set ¶
func (a *CollectorHistory) Set(key interface{}, value ...interface{})
func (*CollectorHistory) SetContext ¶
func (a *CollectorHistory) SetContext(ctx echo.Context) factory.Model
func (*CollectorHistory) SetNamer ¶
func (a *CollectorHistory) SetNamer(namer func(string) string) factory.Model
func (*CollectorHistory) SetParam ¶
func (a *CollectorHistory) SetParam(param *factory.Param) factory.Model
func (*CollectorHistory) Short_ ¶
func (a *CollectorHistory) Short_() string
func (*CollectorHistory) Struct_ ¶
func (a *CollectorHistory) Struct_() string
func (*CollectorHistory) Trans ¶
func (a *CollectorHistory) Trans() *factory.Transaction
func (*CollectorHistory) Use ¶
func (a *CollectorHistory) Use(trans *factory.Transaction) factory.Model
func (*CollectorHistory) Validate ¶
func (a *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 }
CollectorPage 采集页面
func (*CollectorPage) Add ¶
func (a *CollectorPage) Add() (pk interface{}, err error)
func (*CollectorPage) AsKV ¶
func (a *CollectorPage) AsKV(keyField string, valueField string, inputRows ...[]*CollectorPage) map[string]interface{}
func (*CollectorPage) AsMap ¶
func (a *CollectorPage) AsMap() map[string]interface{}
func (*CollectorPage) AsRow ¶
func (a *CollectorPage) AsRow() map[string]interface{}
func (*CollectorPage) BatchValidate ¶
func (a *CollectorPage) BatchValidate(kvset map[string]interface{}) error
func (*CollectorPage) Context ¶
func (a *CollectorPage) Context() echo.Context
func (*CollectorPage) FromRow ¶
func (a *CollectorPage) FromRow(row map[string]interface{})
func (*CollectorPage) GroupBy ¶
func (a *CollectorPage) GroupBy(keyField string, inputRows ...[]*CollectorPage) map[string][]*CollectorPage
func (*CollectorPage) InitObjects ¶
func (a *CollectorPage) InitObjects() *[]*CollectorPage
func (*CollectorPage) KeyBy ¶
func (a *CollectorPage) KeyBy(keyField string, inputRows ...[]*CollectorPage) map[string]*CollectorPage
func (*CollectorPage) ListByOffset ¶
func (*CollectorPage) Name_ ¶
func (a *CollectorPage) Name_() string
func (*CollectorPage) Namer ¶
func (a *CollectorPage) Namer() func(string) string
func (*CollectorPage) New ¶
func (a *CollectorPage) New(structName string, connID ...int) factory.Model
func (*CollectorPage) NewObjects ¶
func (a *CollectorPage) NewObjects() factory.Ranger
func (*CollectorPage) NewParam ¶
func (a *CollectorPage) NewParam() *factory.Param
func (*CollectorPage) Objects ¶
func (a *CollectorPage) Objects() []*CollectorPage
func (*CollectorPage) Reset ¶
func (a *CollectorPage) Reset() *CollectorPage
func (*CollectorPage) Set ¶
func (a *CollectorPage) Set(key interface{}, value ...interface{})
func (*CollectorPage) SetContext ¶
func (a *CollectorPage) SetContext(ctx echo.Context) factory.Model
func (*CollectorPage) SetNamer ¶
func (a *CollectorPage) SetNamer(namer func(string) string) factory.Model
func (*CollectorPage) SetParam ¶
func (a *CollectorPage) SetParam(param *factory.Param) factory.Model
func (*CollectorPage) Short_ ¶
func (a *CollectorPage) Short_() string
func (*CollectorPage) Struct_ ¶
func (a *CollectorPage) Struct_() string
func (*CollectorPage) Trans ¶
func (a *CollectorPage) Trans() *factory.Transaction
func (*CollectorPage) Use ¶
func (a *CollectorPage) Use(trans *factory.Transaction) factory.Model
func (*CollectorPage) Validate ¶
func (a *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 }
CollectorRule 页面中的元素采集规则
func (*CollectorRule) Add ¶
func (a *CollectorRule) Add() (pk interface{}, err error)
func (*CollectorRule) AsKV ¶
func (a *CollectorRule) AsKV(keyField string, valueField string, inputRows ...[]*CollectorRule) map[string]interface{}
func (*CollectorRule) AsMap ¶
func (a *CollectorRule) AsMap() map[string]interface{}
func (*CollectorRule) AsRow ¶
func (a *CollectorRule) AsRow() map[string]interface{}
func (*CollectorRule) BatchValidate ¶
func (a *CollectorRule) BatchValidate(kvset map[string]interface{}) error
func (*CollectorRule) Context ¶
func (a *CollectorRule) Context() echo.Context
func (*CollectorRule) FromRow ¶
func (a *CollectorRule) FromRow(row map[string]interface{})
func (*CollectorRule) GroupBy ¶
func (a *CollectorRule) GroupBy(keyField string, inputRows ...[]*CollectorRule) map[string][]*CollectorRule
func (*CollectorRule) InitObjects ¶
func (a *CollectorRule) InitObjects() *[]*CollectorRule
func (*CollectorRule) KeyBy ¶
func (a *CollectorRule) KeyBy(keyField string, inputRows ...[]*CollectorRule) map[string]*CollectorRule
func (*CollectorRule) ListByOffset ¶
func (*CollectorRule) Name_ ¶
func (a *CollectorRule) Name_() string
func (*CollectorRule) Namer ¶
func (a *CollectorRule) Namer() func(string) string
func (*CollectorRule) New ¶
func (a *CollectorRule) New(structName string, connID ...int) factory.Model
func (*CollectorRule) NewObjects ¶
func (a *CollectorRule) NewObjects() factory.Ranger
func (*CollectorRule) NewParam ¶
func (a *CollectorRule) NewParam() *factory.Param
func (*CollectorRule) Objects ¶
func (a *CollectorRule) Objects() []*CollectorRule
func (*CollectorRule) Reset ¶
func (a *CollectorRule) Reset() *CollectorRule
func (*CollectorRule) Set ¶
func (a *CollectorRule) Set(key interface{}, value ...interface{})
func (*CollectorRule) SetContext ¶
func (a *CollectorRule) SetContext(ctx echo.Context) factory.Model
func (*CollectorRule) SetNamer ¶
func (a *CollectorRule) SetNamer(namer func(string) string) factory.Model
func (*CollectorRule) SetParam ¶
func (a *CollectorRule) SetParam(param *factory.Param) factory.Model
func (*CollectorRule) Short_ ¶
func (a *CollectorRule) Short_() string
func (*CollectorRule) Struct_ ¶
func (a *CollectorRule) Struct_() string
func (*CollectorRule) Trans ¶
func (a *CollectorRule) Trans() *factory.Transaction
func (*CollectorRule) Use ¶
func (a *CollectorRule) Use(trans *factory.Transaction) factory.Model
func (*CollectorRule) Validate ¶
func (a *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 }
Command 指令集
func (*Command) BatchValidate ¶
func (*Command) InitObjects ¶
func (*Command) ListByOffset ¶
func (*Command) NewObjects ¶
func (*Command) Trans ¶
func (a *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 }
Config 配置
func (*Config) BatchValidate ¶
func (*Config) InitObjects ¶
func (*Config) ListByOffset ¶
func (*Config) NewObjects ¶
func (*Config) Trans ¶
func (a *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 }
DbAccount 数据库账号
func (*DbAccount) BatchValidate ¶
func (*DbAccount) InitObjects ¶
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 (a *DbAccount) Trans() *factory.Transaction
type DbSync ¶
type DbSync 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"` SourceAccountId uint `` /* 127-byte string literal not displayed */ DsnSource string `db:"dsn_source" bson:"dsn_source" comment:"同步源" json:"dsn_source" xml:"dsn_source"` DestinationAccountId uint `` /* 150-byte string literal not displayed */ 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 }
DbSync 数据表同步方案
func (*DbSync) BatchValidate ¶
func (*DbSync) InitObjects ¶
func (*DbSync) ListByOffset ¶
func (*DbSync) NewObjects ¶
func (*DbSync) Trans ¶
func (a *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 }
DbSyncLog 数据表同步日志
func (*DbSyncLog) BatchValidate ¶
func (*DbSyncLog) InitObjects ¶
func (*DbSyncLog) ListByOffset ¶
func (*DbSyncLog) NewObjects ¶
func (*DbSyncLog) Trans ¶
func (a *DbSyncLog) Trans() *factory.Transaction
type File ¶
type File struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"文件ID" json:"id" xml:"id"` OwnerType string `db:"owner_type" bson:"owner_type" comment:"用户类型" json:"owner_type" xml:"owner_type"` OwnerId uint64 `db:"owner_id" bson:"owner_id" comment:"用户ID" json:"owner_id" xml:"owner_id"` Name string `db:"name" bson:"name" comment:"原始文件名" json:"name" xml:"name"` SaveName string `db:"save_name" bson:"save_name" comment:"保存名称" json:"save_name" xml:"save_name"` SavePath string `db:"save_path" bson:"save_path" comment:"文件保存路径" json:"save_path" xml:"save_path"` ViewUrl string `db:"view_url" bson:"view_url" comment:"查看链接" json:"view_url" xml:"view_url"` Ext string `db:"ext" bson:"ext" comment:"文件后缀" json:"ext" xml:"ext"` Mime string `db:"mime" bson:"mime" comment:"文件mime类型" json:"mime" xml:"mime"` Type string `db:"type" bson:"type" comment:"文件类型" json:"type" xml:"type"` Size uint64 `db:"size" bson:"size" comment:"文件大小" json:"size" xml:"size"` Width uint `db:"width" bson:"width" comment:"宽度(像素)" json:"width" xml:"width"` Height uint `db:"height" bson:"height" comment:"高度(像素)" json:"height" xml:"height"` Dpi uint `db:"dpi" bson:"dpi" comment:"分辨率" json:"dpi" xml:"dpi"` Md5 string `db:"md5" bson:"md5" comment:"文件md5" json:"md5" xml:"md5"` StorerName string `db:"storer_name" bson:"storer_name" comment:"文件保存位置" json:"storer_name" xml:"storer_name"` StorerId string `db:"storer_id" bson:"storer_id" comment:"位置ID" json:"storer_id" xml:"storer_id"` Created uint `db:"created" bson:"created" comment:"上传时间" json:"created" xml:"created"` Updated uint `db:"updated" bson:"updated" comment:"修改时间" json:"updated" xml:"updated"` Project string `db:"project" bson:"project" comment:"项目名称" json:"project" xml:"project"` TableId string `db:"table_id" bson:"table_id" comment:"关联表数据id" json:"table_id" xml:"table_id"` TableName string `db:"table_name" bson:"table_name" comment:"关联表名称" json:"table_name" xml:"table_name"` FieldName string `db:"field_name" bson:"field_name" comment:"关联表字段名" json:"field_name" xml:"field_name"` Sort int64 `db:"sort" bson:"sort" comment:"排序" json:"sort" xml:"sort"` Status int `db:"status" bson:"status" comment:"状态(1-已审核/0-未审核)" json:"status" xml:"status"` CategoryId uint `db:"category_id" bson:"category_id" comment:"分类ID" json:"category_id" xml:"category_id"` UsedTimes uint `db:"used_times" bson:"used_times" comment:"被使用的次数" json:"used_times" xml:"used_times"` // contains filtered or unexported fields }
File 文件表
func (*File) BatchValidate ¶
func (*File) InitObjects ¶
func (*File) ListByOffset ¶
func (*File) NewObjects ¶
func (*File) Trans ¶
func (a *File) Trans() *factory.Transaction
type FileEmbedded ¶
type FileEmbedded struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"主键" json:"id" xml:"id"` Project string `db:"project" bson:"project" comment:"项目名" json:"project" xml:"project"` TableId string `db:"table_id" bson:"table_id" comment:"表主键" json:"table_id" xml:"table_id"` TableName string `db:"table_name" bson:"table_name" comment:"表名称" json:"table_name" xml:"table_name"` FieldName string `db:"field_name" bson:"field_name" comment:"字段名" json:"field_name" xml:"field_name"` FileIds string `db:"file_ids" bson:"file_ids" comment:"文件id列表" json:"file_ids" xml:"file_ids"` Embedded string `db:"embedded" bson:"embedded" comment:"是否(Y/N)为内嵌文件" json:"embedded" xml:"embedded"` // contains filtered or unexported fields }
FileEmbedded 嵌入文件
func (*FileEmbedded) Add ¶
func (a *FileEmbedded) Add() (pk interface{}, err error)
func (*FileEmbedded) AsKV ¶
func (a *FileEmbedded) AsKV(keyField string, valueField string, inputRows ...[]*FileEmbedded) map[string]interface{}
func (*FileEmbedded) AsMap ¶
func (a *FileEmbedded) AsMap() map[string]interface{}
func (*FileEmbedded) AsRow ¶
func (a *FileEmbedded) AsRow() map[string]interface{}
func (*FileEmbedded) BatchValidate ¶
func (a *FileEmbedded) BatchValidate(kvset map[string]interface{}) error
func (*FileEmbedded) Context ¶
func (a *FileEmbedded) Context() echo.Context
func (*FileEmbedded) FromRow ¶
func (a *FileEmbedded) FromRow(row map[string]interface{})
func (*FileEmbedded) GroupBy ¶
func (a *FileEmbedded) GroupBy(keyField string, inputRows ...[]*FileEmbedded) map[string][]*FileEmbedded
func (*FileEmbedded) InitObjects ¶
func (a *FileEmbedded) InitObjects() *[]*FileEmbedded
func (*FileEmbedded) KeyBy ¶
func (a *FileEmbedded) KeyBy(keyField string, inputRows ...[]*FileEmbedded) map[string]*FileEmbedded
func (*FileEmbedded) ListByOffset ¶
func (*FileEmbedded) Name_ ¶
func (a *FileEmbedded) Name_() string
func (*FileEmbedded) Namer ¶
func (a *FileEmbedded) Namer() func(string) string
func (*FileEmbedded) New ¶
func (a *FileEmbedded) New(structName string, connID ...int) factory.Model
func (*FileEmbedded) NewObjects ¶
func (a *FileEmbedded) NewObjects() factory.Ranger
func (*FileEmbedded) NewParam ¶
func (a *FileEmbedded) NewParam() *factory.Param
func (*FileEmbedded) Objects ¶
func (a *FileEmbedded) Objects() []*FileEmbedded
func (*FileEmbedded) Reset ¶
func (a *FileEmbedded) Reset() *FileEmbedded
func (*FileEmbedded) Set ¶
func (a *FileEmbedded) Set(key interface{}, value ...interface{})
func (*FileEmbedded) SetContext ¶
func (a *FileEmbedded) SetContext(ctx echo.Context) factory.Model
func (*FileEmbedded) SetNamer ¶
func (a *FileEmbedded) SetNamer(namer func(string) string) factory.Model
func (*FileEmbedded) Short_ ¶
func (a *FileEmbedded) Short_() string
func (*FileEmbedded) Struct_ ¶
func (a *FileEmbedded) Struct_() string
func (*FileEmbedded) Trans ¶
func (a *FileEmbedded) Trans() *factory.Transaction
func (*FileEmbedded) Use ¶
func (a *FileEmbedded) Use(trans *factory.Transaction) factory.Model
func (*FileEmbedded) Validate ¶
func (a *FileEmbedded) Validate(field string, value interface{}) error
type FileThumb ¶
type FileThumb struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"主键" json:"id" xml:"id"` FileId uint64 `db:"file_id" bson:"file_id" comment:"文件ID" json:"file_id" xml:"file_id"` Size uint64 `db:"size" bson:"size" comment:"文件大小" json:"size" xml:"size"` Width uint `db:"width" bson:"width" comment:"宽度(像素)" json:"width" xml:"width"` Height uint `db:"height" bson:"height" comment:"高度(像素)" json:"height" xml:"height"` Dpi uint `db:"dpi" bson:"dpi" comment:"分辨率" json:"dpi" xml:"dpi"` SaveName string `db:"save_name" bson:"save_name" comment:"保存名称" json:"save_name" xml:"save_name"` SavePath string `db:"save_path" bson:"save_path" comment:"保存路径" json:"save_path" xml:"save_path"` ViewUrl string `db:"view_url" bson:"view_url" comment:"访问网址" json:"view_url" xml:"view_url"` UsedTimes uint `db:"used_times" bson:"used_times" comment:"被使用的次数" json:"used_times" xml:"used_times"` Md5 string `db:"md5" bson:"md5" comment:"缩略图文件MD5值" json:"md5" xml:"md5"` // contains filtered or unexported fields }
FileThumb 图片文件缩略图
func (*FileThumb) BatchValidate ¶
func (*FileThumb) InitObjects ¶
func (*FileThumb) ListByOffset ¶
func (*FileThumb) NewObjects ¶
func (*FileThumb) Trans ¶
func (a *FileThumb) 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 }
ForeverProcess 持久进程
func (*ForeverProcess) Add ¶
func (a *ForeverProcess) Add() (pk interface{}, err error)
func (*ForeverProcess) AsKV ¶
func (a *ForeverProcess) AsKV(keyField string, valueField string, inputRows ...[]*ForeverProcess) map[string]interface{}
func (*ForeverProcess) AsMap ¶
func (a *ForeverProcess) AsMap() map[string]interface{}
func (*ForeverProcess) AsRow ¶
func (a *ForeverProcess) AsRow() map[string]interface{}
func (*ForeverProcess) BatchValidate ¶
func (a *ForeverProcess) BatchValidate(kvset map[string]interface{}) error
func (*ForeverProcess) CPAFrom ¶
func (a *ForeverProcess) CPAFrom(source factory.Model) factory.Model
func (*ForeverProcess) Context ¶
func (a *ForeverProcess) Context() echo.Context
func (*ForeverProcess) FromRow ¶
func (a *ForeverProcess) FromRow(row map[string]interface{})
func (*ForeverProcess) GroupBy ¶
func (a *ForeverProcess) GroupBy(keyField string, inputRows ...[]*ForeverProcess) map[string][]*ForeverProcess
func (*ForeverProcess) InitObjects ¶
func (a *ForeverProcess) InitObjects() *[]*ForeverProcess
func (*ForeverProcess) KeyBy ¶
func (a *ForeverProcess) KeyBy(keyField string, inputRows ...[]*ForeverProcess) map[string]*ForeverProcess
func (*ForeverProcess) ListByOffset ¶
func (*ForeverProcess) Name_ ¶
func (a *ForeverProcess) Name_() string
func (*ForeverProcess) Namer ¶
func (a *ForeverProcess) Namer() func(string) string
func (*ForeverProcess) New ¶
func (a *ForeverProcess) New(structName string, connID ...int) factory.Model
func (*ForeverProcess) NewObjects ¶
func (a *ForeverProcess) NewObjects() factory.Ranger
func (*ForeverProcess) NewParam ¶
func (a *ForeverProcess) NewParam() *factory.Param
func (*ForeverProcess) Objects ¶
func (a *ForeverProcess) Objects() []*ForeverProcess
func (*ForeverProcess) Reset ¶
func (a *ForeverProcess) Reset() *ForeverProcess
func (*ForeverProcess) Set ¶
func (a *ForeverProcess) Set(key interface{}, value ...interface{})
func (*ForeverProcess) SetContext ¶
func (a *ForeverProcess) SetContext(ctx echo.Context) factory.Model
func (*ForeverProcess) SetNamer ¶
func (a *ForeverProcess) SetNamer(namer func(string) string) factory.Model
func (*ForeverProcess) SetParam ¶
func (a *ForeverProcess) SetParam(param *factory.Param) factory.Model
func (*ForeverProcess) Short_ ¶
func (a *ForeverProcess) Short_() string
func (*ForeverProcess) Struct_ ¶
func (a *ForeverProcess) Struct_() string
func (*ForeverProcess) Trans ¶
func (a *ForeverProcess) Trans() *factory.Transaction
func (*ForeverProcess) Use ¶
func (a *ForeverProcess) Use(trans *factory.Transaction) factory.Model
func (*ForeverProcess) Validate ¶
func (a *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 }
FrpClient FRP客户端设置
func (*FrpClient) BatchValidate ¶
func (*FrpClient) InitObjects ¶
func (*FrpClient) ListByOffset ¶
func (*FrpClient) NewObjects ¶
func (*FrpClient) Trans ¶
func (a *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 }
FrpGroup FRP服务组
func (*FrpGroup) BatchValidate ¶
func (*FrpGroup) InitObjects ¶
func (*FrpGroup) ListByOffset ¶
func (*FrpGroup) NewObjects ¶
func (*FrpGroup) Trans ¶
func (a *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 }
FrpServer FRP服务器设置
func (*FrpServer) BatchValidate ¶
func (*FrpServer) InitObjects ¶
func (*FrpServer) ListByOffset ¶
func (*FrpServer) NewObjects ¶
func (*FrpServer) Trans ¶
func (a *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 }
FtpUser FTP用户
func (*FtpUser) BatchValidate ¶
func (*FtpUser) InitObjects ¶
func (*FtpUser) ListByOffset ¶
func (*FtpUser) NewObjects ¶
func (*FtpUser) Trans ¶
func (a *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 }
FtpUserGroup FTP用户组
func (*FtpUserGroup) Add ¶
func (a *FtpUserGroup) Add() (pk interface{}, err error)
func (*FtpUserGroup) AsKV ¶
func (a *FtpUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*FtpUserGroup) map[string]interface{}
func (*FtpUserGroup) AsMap ¶
func (a *FtpUserGroup) AsMap() map[string]interface{}
func (*FtpUserGroup) AsRow ¶
func (a *FtpUserGroup) AsRow() map[string]interface{}
func (*FtpUserGroup) BatchValidate ¶
func (a *FtpUserGroup) BatchValidate(kvset map[string]interface{}) error
func (*FtpUserGroup) Context ¶
func (a *FtpUserGroup) Context() echo.Context
func (*FtpUserGroup) FromRow ¶
func (a *FtpUserGroup) FromRow(row map[string]interface{})
func (*FtpUserGroup) GroupBy ¶
func (a *FtpUserGroup) GroupBy(keyField string, inputRows ...[]*FtpUserGroup) map[string][]*FtpUserGroup
func (*FtpUserGroup) InitObjects ¶
func (a *FtpUserGroup) InitObjects() *[]*FtpUserGroup
func (*FtpUserGroup) KeyBy ¶
func (a *FtpUserGroup) KeyBy(keyField string, inputRows ...[]*FtpUserGroup) map[string]*FtpUserGroup
func (*FtpUserGroup) ListByOffset ¶
func (*FtpUserGroup) Name_ ¶
func (a *FtpUserGroup) Name_() string
func (*FtpUserGroup) Namer ¶
func (a *FtpUserGroup) Namer() func(string) string
func (*FtpUserGroup) New ¶
func (a *FtpUserGroup) New(structName string, connID ...int) factory.Model
func (*FtpUserGroup) NewObjects ¶
func (a *FtpUserGroup) NewObjects() factory.Ranger
func (*FtpUserGroup) NewParam ¶
func (a *FtpUserGroup) NewParam() *factory.Param
func (*FtpUserGroup) Objects ¶
func (a *FtpUserGroup) Objects() []*FtpUserGroup
func (*FtpUserGroup) Reset ¶
func (a *FtpUserGroup) Reset() *FtpUserGroup
func (*FtpUserGroup) Set ¶
func (a *FtpUserGroup) Set(key interface{}, value ...interface{})
func (*FtpUserGroup) SetContext ¶
func (a *FtpUserGroup) SetContext(ctx echo.Context) factory.Model
func (*FtpUserGroup) SetNamer ¶
func (a *FtpUserGroup) SetNamer(namer func(string) string) factory.Model
func (*FtpUserGroup) Short_ ¶
func (a *FtpUserGroup) Short_() string
func (*FtpUserGroup) Struct_ ¶
func (a *FtpUserGroup) Struct_() string
func (*FtpUserGroup) Trans ¶
func (a *FtpUserGroup) Trans() *factory.Transaction
func (*FtpUserGroup) Use ¶
func (a *FtpUserGroup) Use(trans *factory.Transaction) factory.Model
func (*FtpUserGroup) Validate ¶
func (a *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 }
SendingLog 邮件短信等发送日志
func (*SendingLog) Add ¶
func (a *SendingLog) Add() (pk interface{}, err error)
func (*SendingLog) AsKV ¶
func (a *SendingLog) AsKV(keyField string, valueField string, inputRows ...[]*SendingLog) map[string]interface{}
func (*SendingLog) AsMap ¶
func (a *SendingLog) AsMap() map[string]interface{}
func (*SendingLog) AsRow ¶
func (a *SendingLog) AsRow() map[string]interface{}
func (*SendingLog) BatchValidate ¶
func (a *SendingLog) BatchValidate(kvset map[string]interface{}) error
func (*SendingLog) Context ¶
func (a *SendingLog) Context() echo.Context
func (*SendingLog) FromRow ¶
func (a *SendingLog) FromRow(row map[string]interface{})
func (*SendingLog) GroupBy ¶
func (a *SendingLog) GroupBy(keyField string, inputRows ...[]*SendingLog) map[string][]*SendingLog
func (*SendingLog) InitObjects ¶
func (a *SendingLog) InitObjects() *[]*SendingLog
func (*SendingLog) KeyBy ¶
func (a *SendingLog) KeyBy(keyField string, inputRows ...[]*SendingLog) map[string]*SendingLog
func (*SendingLog) ListByOffset ¶
func (*SendingLog) Name_ ¶
func (a *SendingLog) Name_() string
func (*SendingLog) Namer ¶
func (a *SendingLog) Namer() func(string) string
func (*SendingLog) NewObjects ¶
func (a *SendingLog) NewObjects() factory.Ranger
func (*SendingLog) NewParam ¶
func (a *SendingLog) NewParam() *factory.Param
func (*SendingLog) Objects ¶
func (a *SendingLog) Objects() []*SendingLog
func (*SendingLog) Reset ¶
func (a *SendingLog) Reset() *SendingLog
func (*SendingLog) Set ¶
func (a *SendingLog) Set(key interface{}, value ...interface{})
func (*SendingLog) SetContext ¶
func (a *SendingLog) SetContext(ctx echo.Context) factory.Model
func (*SendingLog) SetNamer ¶
func (a *SendingLog) SetNamer(namer func(string) string) factory.Model
func (*SendingLog) Short_ ¶
func (a *SendingLog) Short_() string
func (*SendingLog) Struct_ ¶
func (a *SendingLog) Struct_() string
func (*SendingLog) Trans ¶
func (a *SendingLog) Trans() *factory.Transaction
func (*SendingLog) Use ¶
func (a *SendingLog) Use(trans *factory.Transaction) factory.Model
func (*SendingLog) Validate ¶
func (a *SendingLog) Validate(field string, value interface{}) error
type Slice_AccessLog ¶
type Slice_AccessLog []*AccessLog
type Slice_CloudStorage ¶
type Slice_CloudStorage []*CloudStorage
func (Slice_CloudStorage) Range ¶
func (s Slice_CloudStorage) Range(fn func(m factory.Model) error) error
func (Slice_CloudStorage) RangeRaw ¶
func (s Slice_CloudStorage) RangeRaw(fn func(m *CloudStorage) error) error
type Slice_CodeInvitation ¶
type Slice_CodeInvitation []*CodeInvitation
func (Slice_CodeInvitation) Range ¶
func (s Slice_CodeInvitation) Range(fn func(m factory.Model) error) error
func (Slice_CodeInvitation) RangeRaw ¶
func (s Slice_CodeInvitation) RangeRaw(fn func(m *CodeInvitation) error) error
type Slice_CodeVerification ¶
type Slice_CodeVerification []*CodeVerification
func (Slice_CodeVerification) Range ¶
func (s Slice_CodeVerification) Range(fn func(m factory.Model) error) error
func (Slice_CodeVerification) RangeRaw ¶
func (s Slice_CodeVerification) RangeRaw(fn func(m *CodeVerification) error) error
type Slice_CollectorExport ¶
type Slice_CollectorExport []*CollectorExport
func (Slice_CollectorExport) Range ¶
func (s Slice_CollectorExport) Range(fn func(m factory.Model) error) error
func (Slice_CollectorExport) RangeRaw ¶
func (s Slice_CollectorExport) RangeRaw(fn func(m *CollectorExport) error) error
type Slice_CollectorExportLog ¶
type Slice_CollectorExportLog []*CollectorExportLog
func (Slice_CollectorExportLog) Range ¶
func (s Slice_CollectorExportLog) Range(fn func(m factory.Model) error) error
func (Slice_CollectorExportLog) RangeRaw ¶
func (s Slice_CollectorExportLog) RangeRaw(fn func(m *CollectorExportLog) error) error
type Slice_CollectorGroup ¶
type Slice_CollectorGroup []*CollectorGroup
func (Slice_CollectorGroup) Range ¶
func (s Slice_CollectorGroup) Range(fn func(m factory.Model) error) error
func (Slice_CollectorGroup) RangeRaw ¶
func (s Slice_CollectorGroup) RangeRaw(fn func(m *CollectorGroup) error) error
type Slice_CollectorHistory ¶
type Slice_CollectorHistory []*CollectorHistory
func (Slice_CollectorHistory) Range ¶
func (s Slice_CollectorHistory) Range(fn func(m factory.Model) error) error
func (Slice_CollectorHistory) RangeRaw ¶
func (s Slice_CollectorHistory) RangeRaw(fn func(m *CollectorHistory) error) error
type Slice_CollectorPage ¶
type Slice_CollectorPage []*CollectorPage
func (Slice_CollectorPage) Range ¶
func (s Slice_CollectorPage) Range(fn func(m factory.Model) error) error
func (Slice_CollectorPage) RangeRaw ¶
func (s Slice_CollectorPage) RangeRaw(fn func(m *CollectorPage) error) error
type Slice_CollectorRule ¶
type Slice_CollectorRule []*CollectorRule
func (Slice_CollectorRule) Range ¶
func (s Slice_CollectorRule) Range(fn func(m factory.Model) error) error
func (Slice_CollectorRule) RangeRaw ¶
func (s Slice_CollectorRule) RangeRaw(fn func(m *CollectorRule) error) error
type Slice_Command ¶
type Slice_Command []*Command
type Slice_Config ¶
type Slice_Config []*Config
type Slice_DbAccount ¶
type Slice_DbAccount []*DbAccount
type Slice_DbSync ¶
type Slice_DbSync []*DbSync
type Slice_DbSyncLog ¶
type Slice_DbSyncLog []*DbSyncLog
type Slice_File ¶
type Slice_File []*File
type Slice_FileEmbedded ¶
type Slice_FileEmbedded []*FileEmbedded
func (Slice_FileEmbedded) Range ¶
func (s Slice_FileEmbedded) Range(fn func(m factory.Model) error) error
func (Slice_FileEmbedded) RangeRaw ¶
func (s Slice_FileEmbedded) RangeRaw(fn func(m *FileEmbedded) error) error
type Slice_FileThumb ¶
type Slice_FileThumb []*FileThumb
type Slice_ForeverProcess ¶
type Slice_ForeverProcess []*ForeverProcess
func (Slice_ForeverProcess) Range ¶
func (s Slice_ForeverProcess) Range(fn func(m factory.Model) error) error
func (Slice_ForeverProcess) RangeRaw ¶
func (s Slice_ForeverProcess) RangeRaw(fn func(m *ForeverProcess) error) error
type Slice_FrpClient ¶
type Slice_FrpClient []*FrpClient
type Slice_FrpGroup ¶
type Slice_FrpGroup []*FrpGroup
type Slice_FrpServer ¶
type Slice_FrpServer []*FrpServer
type Slice_FtpUser ¶
type Slice_FtpUser []*FtpUser
type Slice_FtpUserGroup ¶
type Slice_FtpUserGroup []*FtpUserGroup
func (Slice_FtpUserGroup) Range ¶
func (s Slice_FtpUserGroup) Range(fn func(m factory.Model) error) error
func (Slice_FtpUserGroup) RangeRaw ¶
func (s Slice_FtpUserGroup) RangeRaw(fn func(m *FtpUserGroup) error) error
type Slice_SendingLog ¶
type Slice_SendingLog []*SendingLog
func (Slice_SendingLog) Range ¶
func (s Slice_SendingLog) Range(fn func(m factory.Model) error) error
func (Slice_SendingLog) RangeRaw ¶
func (s Slice_SendingLog) RangeRaw(fn func(m *SendingLog) error) error
type Slice_SshUser ¶
type Slice_SshUser []*SshUser
type Slice_SshUserGroup ¶
type Slice_SshUserGroup []*SshUserGroup
func (Slice_SshUserGroup) Range ¶
func (s Slice_SshUserGroup) Range(fn func(m factory.Model) error) error
func (Slice_SshUserGroup) RangeRaw ¶
func (s Slice_SshUserGroup) RangeRaw(fn func(m *SshUserGroup) error) error
type Slice_Task ¶
type Slice_Task []*Task
type Slice_TaskGroup ¶
type Slice_TaskGroup []*TaskGroup
type Slice_TaskLog ¶
type Slice_TaskLog []*TaskLog
type Slice_User ¶
type Slice_User []*User
type Slice_UserRole ¶
type Slice_UserRole []*UserRole
type Slice_UserU2f ¶
type Slice_UserU2f []*UserU2f
type Slice_Vhost ¶
type Slice_Vhost []*Vhost
type Slice_VhostGroup ¶
type Slice_VhostGroup []*VhostGroup
func (Slice_VhostGroup) Range ¶
func (s Slice_VhostGroup) Range(fn func(m factory.Model) error) error
func (Slice_VhostGroup) RangeRaw ¶
func (s Slice_VhostGroup) RangeRaw(fn func(m *VhostGroup) error) 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 }
SshUser 数据库账号
func (*SshUser) BatchValidate ¶
func (*SshUser) InitObjects ¶
func (*SshUser) ListByOffset ¶
func (*SshUser) NewObjects ¶
func (*SshUser) Trans ¶
func (a *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 }
SshUserGroup SSH账号组
func (*SshUserGroup) Add ¶
func (a *SshUserGroup) Add() (pk interface{}, err error)
func (*SshUserGroup) AsKV ¶
func (a *SshUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*SshUserGroup) map[string]interface{}
func (*SshUserGroup) AsMap ¶
func (a *SshUserGroup) AsMap() map[string]interface{}
func (*SshUserGroup) AsRow ¶
func (a *SshUserGroup) AsRow() map[string]interface{}
func (*SshUserGroup) BatchValidate ¶
func (a *SshUserGroup) BatchValidate(kvset map[string]interface{}) error
func (*SshUserGroup) Context ¶
func (a *SshUserGroup) Context() echo.Context
func (*SshUserGroup) FromRow ¶
func (a *SshUserGroup) FromRow(row map[string]interface{})
func (*SshUserGroup) GroupBy ¶
func (a *SshUserGroup) GroupBy(keyField string, inputRows ...[]*SshUserGroup) map[string][]*SshUserGroup
func (*SshUserGroup) InitObjects ¶
func (a *SshUserGroup) InitObjects() *[]*SshUserGroup
func (*SshUserGroup) KeyBy ¶
func (a *SshUserGroup) KeyBy(keyField string, inputRows ...[]*SshUserGroup) map[string]*SshUserGroup
func (*SshUserGroup) ListByOffset ¶
func (*SshUserGroup) Name_ ¶
func (a *SshUserGroup) Name_() string
func (*SshUserGroup) Namer ¶
func (a *SshUserGroup) Namer() func(string) string
func (*SshUserGroup) New ¶
func (a *SshUserGroup) New(structName string, connID ...int) factory.Model
func (*SshUserGroup) NewObjects ¶
func (a *SshUserGroup) NewObjects() factory.Ranger
func (*SshUserGroup) NewParam ¶
func (a *SshUserGroup) NewParam() *factory.Param
func (*SshUserGroup) Objects ¶
func (a *SshUserGroup) Objects() []*SshUserGroup
func (*SshUserGroup) Reset ¶
func (a *SshUserGroup) Reset() *SshUserGroup
func (*SshUserGroup) Set ¶
func (a *SshUserGroup) Set(key interface{}, value ...interface{})
func (*SshUserGroup) SetContext ¶
func (a *SshUserGroup) SetContext(ctx echo.Context) factory.Model
func (*SshUserGroup) SetNamer ¶
func (a *SshUserGroup) SetNamer(namer func(string) string) factory.Model
func (*SshUserGroup) Short_ ¶
func (a *SshUserGroup) Short_() string
func (*SshUserGroup) Struct_ ¶
func (a *SshUserGroup) Struct_() string
func (*SshUserGroup) Trans ¶
func (a *SshUserGroup) Trans() *factory.Transaction
func (*SshUserGroup) Use ¶
func (a *SshUserGroup) Use(trans *factory.Transaction) factory.Model
func (*SshUserGroup) Validate ¶
func (a *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 }
Task 任务
func (*Task) BatchValidate ¶
func (*Task) InitObjects ¶
func (*Task) ListByOffset ¶
func (*Task) NewObjects ¶
func (*Task) Trans ¶
func (a *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 }
TaskGroup 任务组
func (*TaskGroup) BatchValidate ¶
func (*TaskGroup) InitObjects ¶
func (*TaskGroup) ListByOffset ¶
func (*TaskGroup) NewObjects ¶
func (*TaskGroup) Trans ¶
func (a *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 }
TaskLog 任务日志
func (*TaskLog) BatchValidate ¶
func (*TaskLog) InitObjects ¶
func (*TaskLog) ListByOffset ¶
func (*TaskLog) NewObjects ¶
func (*TaskLog) Trans ¶
func (a *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"` FileSize uint64 `db:"file_size" bson:"file_size" comment:"上传文件总大小" json:"file_size" xml:"file_size"` FileNum uint64 `db:"file_num" bson:"file_num" comment:"上传文件数量" json:"file_num" xml:"file_num"` // contains filtered or unexported fields }
User 用户
func (*User) BatchValidate ¶
func (*User) InitObjects ¶
func (*User) ListByOffset ¶
func (*User) NewObjects ¶
func (*User) Trans ¶
func (a *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 }
UserRole 用户角色
func (*UserRole) BatchValidate ¶
func (*UserRole) InitObjects ¶
func (*UserRole) ListByOffset ¶
func (*UserRole) NewObjects ¶
func (*UserRole) Trans ¶
func (a *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 }
UserU2f 两步验证
func (*UserU2f) BatchValidate ¶
func (*UserU2f) InitObjects ¶
func (*UserU2f) ListByOffset ¶
func (*UserU2f) NewObjects ¶
func (*UserU2f) Trans ¶
func (a *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 }
Vhost 虚拟主机
func (*Vhost) BatchValidate ¶
func (*Vhost) InitObjects ¶
func (*Vhost) ListByOffset ¶
func (*Vhost) NewObjects ¶
func (*Vhost) Trans ¶
func (a *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 }
VhostGroup 虚拟主机组
func (*VhostGroup) Add ¶
func (a *VhostGroup) Add() (pk interface{}, err error)
func (*VhostGroup) AsKV ¶
func (a *VhostGroup) AsKV(keyField string, valueField string, inputRows ...[]*VhostGroup) map[string]interface{}
func (*VhostGroup) AsMap ¶
func (a *VhostGroup) AsMap() map[string]interface{}
func (*VhostGroup) AsRow ¶
func (a *VhostGroup) AsRow() map[string]interface{}
func (*VhostGroup) BatchValidate ¶
func (a *VhostGroup) BatchValidate(kvset map[string]interface{}) error
func (*VhostGroup) Context ¶
func (a *VhostGroup) Context() echo.Context
func (*VhostGroup) FromRow ¶
func (a *VhostGroup) FromRow(row map[string]interface{})
func (*VhostGroup) GroupBy ¶
func (a *VhostGroup) GroupBy(keyField string, inputRows ...[]*VhostGroup) map[string][]*VhostGroup
func (*VhostGroup) InitObjects ¶
func (a *VhostGroup) InitObjects() *[]*VhostGroup
func (*VhostGroup) KeyBy ¶
func (a *VhostGroup) KeyBy(keyField string, inputRows ...[]*VhostGroup) map[string]*VhostGroup
func (*VhostGroup) ListByOffset ¶
func (*VhostGroup) Name_ ¶
func (a *VhostGroup) Name_() string
func (*VhostGroup) Namer ¶
func (a *VhostGroup) Namer() func(string) string
func (*VhostGroup) NewObjects ¶
func (a *VhostGroup) NewObjects() factory.Ranger
func (*VhostGroup) NewParam ¶
func (a *VhostGroup) NewParam() *factory.Param
func (*VhostGroup) Objects ¶
func (a *VhostGroup) Objects() []*VhostGroup
func (*VhostGroup) Reset ¶
func (a *VhostGroup) Reset() *VhostGroup
func (*VhostGroup) Set ¶
func (a *VhostGroup) Set(key interface{}, value ...interface{})
func (*VhostGroup) SetContext ¶
func (a *VhostGroup) SetContext(ctx echo.Context) factory.Model
func (*VhostGroup) SetNamer ¶
func (a *VhostGroup) SetNamer(namer func(string) string) factory.Model
func (*VhostGroup) Short_ ¶
func (a *VhostGroup) Short_() string
func (*VhostGroup) Struct_ ¶
func (a *VhostGroup) Struct_() string
func (*VhostGroup) Trans ¶
func (a *VhostGroup) Trans() *factory.Transaction
func (*VhostGroup) Use ¶
func (a *VhostGroup) Use(trans *factory.Transaction) factory.Model
func (*VhostGroup) Validate ¶
func (a *VhostGroup) Validate(field string, value interface{}) error
Source Files ¶
- AccessLog.go
- CloudStorage.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
- File.go
- FileEmbedded.go
- FileThumb.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.