dbschema

package
v2.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithPrefix = func(tableName string) string {
	return "" + tableName
}

Functions

This section is empty.

Types

type NgingAccessLog

type NgingAccessLog 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
}

NgingAccessLog

func (*NgingAccessLog) Add

func (a *NgingAccessLog) Add() (pk interface{}, err error)

func (*NgingAccessLog) AsKV

func (a *NgingAccessLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingAccessLog) param.Store

func (*NgingAccessLog) AsMap

func (a *NgingAccessLog) AsMap() param.Store

func (*NgingAccessLog) AsRow

func (a *NgingAccessLog) AsRow() param.Store

func (*NgingAccessLog) BatchValidate

func (a *NgingAccessLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingAccessLog) CPAFrom

func (a *NgingAccessLog) CPAFrom(source factory.Model) factory.Model

func (*NgingAccessLog) Context

func (a *NgingAccessLog) Context() echo.Context

func (*NgingAccessLog) Count

func (a *NgingAccessLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingAccessLog) Delete

func (a *NgingAccessLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAccessLog) Edit

func (a *NgingAccessLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAccessLog) EventOFF

func (a *NgingAccessLog) EventOFF(off ...bool) factory.Model

func (*NgingAccessLog) EventON

func (a *NgingAccessLog) EventON(on ...bool) factory.Model

func (*NgingAccessLog) FromRow

func (a *NgingAccessLog) FromRow(row map[string]interface{})

func (*NgingAccessLog) Get

func (a *NgingAccessLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAccessLog) GroupBy

func (a *NgingAccessLog) GroupBy(keyField string, inputRows ...[]*NgingAccessLog) map[string][]*NgingAccessLog

func (*NgingAccessLog) InitObjects

func (a *NgingAccessLog) InitObjects() *[]*NgingAccessLog

func (*NgingAccessLog) KeyBy

func (a *NgingAccessLog) KeyBy(keyField string, inputRows ...[]*NgingAccessLog) map[string]*NgingAccessLog

func (*NgingAccessLog) List

func (a *NgingAccessLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingAccessLog) ListByOffset

func (a *NgingAccessLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingAccessLog) Name_

func (a *NgingAccessLog) Name_() string

func (*NgingAccessLog) Namer

func (a *NgingAccessLog) Namer() func(string) string

func (*NgingAccessLog) New

func (a *NgingAccessLog) New(structName string, connID ...int) factory.Model

func (*NgingAccessLog) NewObjects

func (a *NgingAccessLog) NewObjects() factory.Ranger

func (*NgingAccessLog) NewParam

func (a *NgingAccessLog) NewParam() *factory.Param

func (*NgingAccessLog) Objects

func (a *NgingAccessLog) Objects() []*NgingAccessLog

func (*NgingAccessLog) Param

func (a *NgingAccessLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingAccessLog) Reset

func (a *NgingAccessLog) Reset() *NgingAccessLog

func (*NgingAccessLog) Set

func (a *NgingAccessLog) Set(key interface{}, value ...interface{})

func (*NgingAccessLog) SetConnID

func (a *NgingAccessLog) SetConnID(connID int) factory.Model

func (*NgingAccessLog) SetContext

func (a *NgingAccessLog) SetContext(ctx echo.Context) factory.Model

func (*NgingAccessLog) SetField

func (a *NgingAccessLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingAccessLog) SetFields

func (a *NgingAccessLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingAccessLog) SetNamer

func (a *NgingAccessLog) SetNamer(namer func(string) string) factory.Model

func (*NgingAccessLog) SetParam

func (a *NgingAccessLog) SetParam(param *factory.Param) factory.Model

func (*NgingAccessLog) Short_

func (a *NgingAccessLog) Short_() string

func (*NgingAccessLog) Struct_

func (a *NgingAccessLog) Struct_() string

func (*NgingAccessLog) Trans

func (a *NgingAccessLog) Trans() *factory.Transaction

func (*NgingAccessLog) Upsert

func (a *NgingAccessLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingAccessLog) Use

func (*NgingAccessLog) Validate

func (a *NgingAccessLog) Validate(field string, value interface{}) error

func (*NgingAccessLog) XObjects

func (a *NgingAccessLog) XObjects() Slice_NgingAccessLog

type NgingAlertRecipient

type NgingAlertRecipient 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"`
	Account     string `db:"account" bson:"account" comment:"账号" json:"account" xml:"account"`
	Extra       string `db:"extra" bson:"extra" comment:"扩展信息(JSON)" json:"extra" xml:"extra"`
	Type        string `db:"type" bson:"type" comment:"类型" json:"type" xml:"type"`
	Platform    string `db:"platform" bson:"platform" comment:"平台(dingding-钉钉;workwx-企业微信)" json:"platform" xml:"platform"`
	Description string `db:"description" bson:"description" comment:"说明" json:"description" xml:"description"`
	Disabled    string `db:"disabled" bson:"disabled" comment:"是否(Y/N)禁用" 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"`
	// contains filtered or unexported fields
}

NgingAlertRecipient 报警收信人

func (*NgingAlertRecipient) Add

func (a *NgingAlertRecipient) Add() (pk interface{}, err error)

func (*NgingAlertRecipient) AsKV

func (a *NgingAlertRecipient) AsKV(keyField string, valueField string, inputRows ...[]*NgingAlertRecipient) param.Store

func (*NgingAlertRecipient) AsMap

func (a *NgingAlertRecipient) AsMap() param.Store

func (*NgingAlertRecipient) AsRow

func (a *NgingAlertRecipient) AsRow() param.Store

func (*NgingAlertRecipient) BatchValidate

func (a *NgingAlertRecipient) BatchValidate(kvset map[string]interface{}) error

func (*NgingAlertRecipient) CPAFrom

func (a *NgingAlertRecipient) CPAFrom(source factory.Model) factory.Model

func (*NgingAlertRecipient) Context

func (a *NgingAlertRecipient) Context() echo.Context

func (*NgingAlertRecipient) Count

func (a *NgingAlertRecipient) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingAlertRecipient) Delete

func (a *NgingAlertRecipient) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertRecipient) Edit

func (a *NgingAlertRecipient) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertRecipient) EventOFF

func (a *NgingAlertRecipient) EventOFF(off ...bool) factory.Model

func (*NgingAlertRecipient) EventON

func (a *NgingAlertRecipient) EventON(on ...bool) factory.Model

func (*NgingAlertRecipient) FromRow

func (a *NgingAlertRecipient) FromRow(row map[string]interface{})

func (*NgingAlertRecipient) Get

func (a *NgingAlertRecipient) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingAlertRecipient) GroupBy

func (a *NgingAlertRecipient) GroupBy(keyField string, inputRows ...[]*NgingAlertRecipient) map[string][]*NgingAlertRecipient

func (*NgingAlertRecipient) InitObjects

func (a *NgingAlertRecipient) InitObjects() *[]*NgingAlertRecipient

func (*NgingAlertRecipient) KeyBy

func (a *NgingAlertRecipient) KeyBy(keyField string, inputRows ...[]*NgingAlertRecipient) map[string]*NgingAlertRecipient

func (*NgingAlertRecipient) List

func (a *NgingAlertRecipient) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingAlertRecipient) ListByOffset

func (a *NgingAlertRecipient) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingAlertRecipient) Name_

func (a *NgingAlertRecipient) Name_() string

func (*NgingAlertRecipient) Namer

func (a *NgingAlertRecipient) Namer() func(string) string

func (*NgingAlertRecipient) New

func (a *NgingAlertRecipient) New(structName string, connID ...int) factory.Model

func (*NgingAlertRecipient) NewObjects

func (a *NgingAlertRecipient) NewObjects() factory.Ranger

func (*NgingAlertRecipient) NewParam

func (a *NgingAlertRecipient) NewParam() *factory.Param

func (*NgingAlertRecipient) Objects

func (a *NgingAlertRecipient) Objects() []*NgingAlertRecipient

func (*NgingAlertRecipient) Param

func (a *NgingAlertRecipient) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingAlertRecipient) Reset

func (*NgingAlertRecipient) Set

func (a *NgingAlertRecipient) Set(key interface{}, value ...interface{})

func (*NgingAlertRecipient) SetConnID

func (a *NgingAlertRecipient) SetConnID(connID int) factory.Model

func (*NgingAlertRecipient) SetContext

func (a *NgingAlertRecipient) SetContext(ctx echo.Context) factory.Model

func (*NgingAlertRecipient) SetField

func (a *NgingAlertRecipient) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingAlertRecipient) SetFields

func (a *NgingAlertRecipient) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingAlertRecipient) SetNamer

func (a *NgingAlertRecipient) SetNamer(namer func(string) string) factory.Model

func (*NgingAlertRecipient) SetParam

func (a *NgingAlertRecipient) SetParam(param *factory.Param) factory.Model

func (*NgingAlertRecipient) Short_

func (a *NgingAlertRecipient) Short_() string

func (*NgingAlertRecipient) Struct_

func (a *NgingAlertRecipient) Struct_() string

func (*NgingAlertRecipient) Trans

func (*NgingAlertRecipient) Upsert

func (a *NgingAlertRecipient) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingAlertRecipient) Use

func (*NgingAlertRecipient) Validate

func (a *NgingAlertRecipient) Validate(field string, value interface{}) error

func (*NgingAlertRecipient) XObjects

type NgingCloudStorage

type NgingCloudStorage 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
}

NgingCloudStorage 云存储账号

func (*NgingCloudStorage) Add

func (a *NgingCloudStorage) Add() (pk interface{}, err error)

func (*NgingCloudStorage) AsKV

func (a *NgingCloudStorage) AsKV(keyField string, valueField string, inputRows ...[]*NgingCloudStorage) param.Store

func (*NgingCloudStorage) AsMap

func (a *NgingCloudStorage) AsMap() param.Store

func (*NgingCloudStorage) AsRow

func (a *NgingCloudStorage) AsRow() param.Store

func (*NgingCloudStorage) BatchValidate

func (a *NgingCloudStorage) BatchValidate(kvset map[string]interface{}) error

func (*NgingCloudStorage) CPAFrom

func (a *NgingCloudStorage) CPAFrom(source factory.Model) factory.Model

func (*NgingCloudStorage) Context

func (a *NgingCloudStorage) Context() echo.Context

func (*NgingCloudStorage) Count

func (a *NgingCloudStorage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCloudStorage) Delete

func (a *NgingCloudStorage) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudStorage) Edit

func (a *NgingCloudStorage) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudStorage) EventOFF

func (a *NgingCloudStorage) EventOFF(off ...bool) factory.Model

func (*NgingCloudStorage) EventON

func (a *NgingCloudStorage) EventON(on ...bool) factory.Model

func (*NgingCloudStorage) FromRow

func (a *NgingCloudStorage) FromRow(row map[string]interface{})

func (*NgingCloudStorage) Get

func (a *NgingCloudStorage) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCloudStorage) GroupBy

func (a *NgingCloudStorage) GroupBy(keyField string, inputRows ...[]*NgingCloudStorage) map[string][]*NgingCloudStorage

func (*NgingCloudStorage) InitObjects

func (a *NgingCloudStorage) InitObjects() *[]*NgingCloudStorage

func (*NgingCloudStorage) KeyBy

func (a *NgingCloudStorage) KeyBy(keyField string, inputRows ...[]*NgingCloudStorage) map[string]*NgingCloudStorage

func (*NgingCloudStorage) List

func (a *NgingCloudStorage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudStorage) ListByOffset

func (a *NgingCloudStorage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCloudStorage) Name_

func (a *NgingCloudStorage) Name_() string

func (*NgingCloudStorage) Namer

func (a *NgingCloudStorage) Namer() func(string) string

func (*NgingCloudStorage) New

func (a *NgingCloudStorage) New(structName string, connID ...int) factory.Model

func (*NgingCloudStorage) NewObjects

func (a *NgingCloudStorage) NewObjects() factory.Ranger

func (*NgingCloudStorage) NewParam

func (a *NgingCloudStorage) NewParam() *factory.Param

func (*NgingCloudStorage) Objects

func (a *NgingCloudStorage) Objects() []*NgingCloudStorage

func (*NgingCloudStorage) Param

func (a *NgingCloudStorage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCloudStorage) Reset

func (*NgingCloudStorage) Set

func (a *NgingCloudStorage) Set(key interface{}, value ...interface{})

func (*NgingCloudStorage) SetConnID

func (a *NgingCloudStorage) SetConnID(connID int) factory.Model

func (*NgingCloudStorage) SetContext

func (a *NgingCloudStorage) SetContext(ctx echo.Context) factory.Model

func (*NgingCloudStorage) SetField

func (a *NgingCloudStorage) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCloudStorage) SetFields

func (a *NgingCloudStorage) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCloudStorage) SetNamer

func (a *NgingCloudStorage) SetNamer(namer func(string) string) factory.Model

func (*NgingCloudStorage) SetParam

func (a *NgingCloudStorage) SetParam(param *factory.Param) factory.Model

func (*NgingCloudStorage) Short_

func (a *NgingCloudStorage) Short_() string

func (*NgingCloudStorage) Struct_

func (a *NgingCloudStorage) Struct_() string

func (*NgingCloudStorage) Trans

func (*NgingCloudStorage) Upsert

func (a *NgingCloudStorage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCloudStorage) Use

func (*NgingCloudStorage) Validate

func (a *NgingCloudStorage) Validate(field string, value interface{}) error

func (*NgingCloudStorage) XObjects

type NgingCodeInvitation

type NgingCodeInvitation 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
}

NgingCodeInvitation 邀请码

func (*NgingCodeInvitation) Add

func (a *NgingCodeInvitation) Add() (pk interface{}, err error)

func (*NgingCodeInvitation) AsKV

func (a *NgingCodeInvitation) AsKV(keyField string, valueField string, inputRows ...[]*NgingCodeInvitation) param.Store

func (*NgingCodeInvitation) AsMap

func (a *NgingCodeInvitation) AsMap() param.Store

func (*NgingCodeInvitation) AsRow

func (a *NgingCodeInvitation) AsRow() param.Store

func (*NgingCodeInvitation) BatchValidate

func (a *NgingCodeInvitation) BatchValidate(kvset map[string]interface{}) error

func (*NgingCodeInvitation) CPAFrom

func (a *NgingCodeInvitation) CPAFrom(source factory.Model) factory.Model

func (*NgingCodeInvitation) Context

func (a *NgingCodeInvitation) Context() echo.Context

func (*NgingCodeInvitation) Count

func (a *NgingCodeInvitation) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCodeInvitation) Delete

func (a *NgingCodeInvitation) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeInvitation) Edit

func (a *NgingCodeInvitation) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeInvitation) EventOFF

func (a *NgingCodeInvitation) EventOFF(off ...bool) factory.Model

func (*NgingCodeInvitation) EventON

func (a *NgingCodeInvitation) EventON(on ...bool) factory.Model

func (*NgingCodeInvitation) FromRow

func (a *NgingCodeInvitation) FromRow(row map[string]interface{})

func (*NgingCodeInvitation) Get

func (a *NgingCodeInvitation) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeInvitation) GroupBy

func (a *NgingCodeInvitation) GroupBy(keyField string, inputRows ...[]*NgingCodeInvitation) map[string][]*NgingCodeInvitation

func (*NgingCodeInvitation) InitObjects

func (a *NgingCodeInvitation) InitObjects() *[]*NgingCodeInvitation

func (*NgingCodeInvitation) KeyBy

func (a *NgingCodeInvitation) KeyBy(keyField string, inputRows ...[]*NgingCodeInvitation) map[string]*NgingCodeInvitation

func (*NgingCodeInvitation) List

func (a *NgingCodeInvitation) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeInvitation) ListByOffset

func (a *NgingCodeInvitation) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeInvitation) Name_

func (a *NgingCodeInvitation) Name_() string

func (*NgingCodeInvitation) Namer

func (a *NgingCodeInvitation) Namer() func(string) string

func (*NgingCodeInvitation) New

func (a *NgingCodeInvitation) New(structName string, connID ...int) factory.Model

func (*NgingCodeInvitation) NewObjects

func (a *NgingCodeInvitation) NewObjects() factory.Ranger

func (*NgingCodeInvitation) NewParam

func (a *NgingCodeInvitation) NewParam() *factory.Param

func (*NgingCodeInvitation) Objects

func (a *NgingCodeInvitation) Objects() []*NgingCodeInvitation

func (*NgingCodeInvitation) Param

func (a *NgingCodeInvitation) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCodeInvitation) Reset

func (*NgingCodeInvitation) Set

func (a *NgingCodeInvitation) Set(key interface{}, value ...interface{})

func (*NgingCodeInvitation) SetConnID

func (a *NgingCodeInvitation) SetConnID(connID int) factory.Model

func (*NgingCodeInvitation) SetContext

func (a *NgingCodeInvitation) SetContext(ctx echo.Context) factory.Model

func (*NgingCodeInvitation) SetField

func (a *NgingCodeInvitation) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCodeInvitation) SetFields

func (a *NgingCodeInvitation) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCodeInvitation) SetNamer

func (a *NgingCodeInvitation) SetNamer(namer func(string) string) factory.Model

func (*NgingCodeInvitation) SetParam

func (a *NgingCodeInvitation) SetParam(param *factory.Param) factory.Model

func (*NgingCodeInvitation) Short_

func (a *NgingCodeInvitation) Short_() string

func (*NgingCodeInvitation) Struct_

func (a *NgingCodeInvitation) Struct_() string

func (*NgingCodeInvitation) Trans

func (*NgingCodeInvitation) Upsert

func (a *NgingCodeInvitation) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCodeInvitation) Use

func (*NgingCodeInvitation) Validate

func (a *NgingCodeInvitation) Validate(field string, value interface{}) error

func (*NgingCodeInvitation) XObjects

type NgingCodeVerification

type NgingCodeVerification 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
}

NgingCodeVerification 验证码

func (*NgingCodeVerification) Add

func (a *NgingCodeVerification) Add() (pk interface{}, err error)

func (*NgingCodeVerification) AsKV

func (a *NgingCodeVerification) AsKV(keyField string, valueField string, inputRows ...[]*NgingCodeVerification) param.Store

func (*NgingCodeVerification) AsMap

func (a *NgingCodeVerification) AsMap() param.Store

func (*NgingCodeVerification) AsRow

func (a *NgingCodeVerification) AsRow() param.Store

func (*NgingCodeVerification) BatchValidate

func (a *NgingCodeVerification) BatchValidate(kvset map[string]interface{}) error

func (*NgingCodeVerification) CPAFrom

func (a *NgingCodeVerification) CPAFrom(source factory.Model) factory.Model

func (*NgingCodeVerification) Context

func (a *NgingCodeVerification) Context() echo.Context

func (*NgingCodeVerification) Count

func (a *NgingCodeVerification) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCodeVerification) Delete

func (a *NgingCodeVerification) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeVerification) Edit

func (a *NgingCodeVerification) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeVerification) EventOFF

func (a *NgingCodeVerification) EventOFF(off ...bool) factory.Model

func (*NgingCodeVerification) EventON

func (a *NgingCodeVerification) EventON(on ...bool) factory.Model

func (*NgingCodeVerification) FromRow

func (a *NgingCodeVerification) FromRow(row map[string]interface{})

func (*NgingCodeVerification) Get

func (a *NgingCodeVerification) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCodeVerification) GroupBy

func (a *NgingCodeVerification) GroupBy(keyField string, inputRows ...[]*NgingCodeVerification) map[string][]*NgingCodeVerification

func (*NgingCodeVerification) InitObjects

func (a *NgingCodeVerification) InitObjects() *[]*NgingCodeVerification

func (*NgingCodeVerification) KeyBy

func (a *NgingCodeVerification) KeyBy(keyField string, inputRows ...[]*NgingCodeVerification) map[string]*NgingCodeVerification

func (*NgingCodeVerification) List

func (a *NgingCodeVerification) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeVerification) ListByOffset

func (a *NgingCodeVerification) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCodeVerification) Name_

func (a *NgingCodeVerification) Name_() string

func (*NgingCodeVerification) Namer

func (a *NgingCodeVerification) Namer() func(string) string

func (*NgingCodeVerification) New

func (a *NgingCodeVerification) New(structName string, connID ...int) factory.Model

func (*NgingCodeVerification) NewObjects

func (a *NgingCodeVerification) NewObjects() factory.Ranger

func (*NgingCodeVerification) NewParam

func (a *NgingCodeVerification) NewParam() *factory.Param

func (*NgingCodeVerification) Objects

func (*NgingCodeVerification) Param

func (a *NgingCodeVerification) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCodeVerification) Reset

func (*NgingCodeVerification) Set

func (a *NgingCodeVerification) Set(key interface{}, value ...interface{})

func (*NgingCodeVerification) SetConnID

func (a *NgingCodeVerification) SetConnID(connID int) factory.Model

func (*NgingCodeVerification) SetContext

func (a *NgingCodeVerification) SetContext(ctx echo.Context) factory.Model

func (*NgingCodeVerification) SetField

func (a *NgingCodeVerification) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCodeVerification) SetFields

func (a *NgingCodeVerification) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCodeVerification) SetNamer

func (a *NgingCodeVerification) SetNamer(namer func(string) string) factory.Model

func (*NgingCodeVerification) SetParam

func (a *NgingCodeVerification) SetParam(param *factory.Param) factory.Model

func (*NgingCodeVerification) Short_

func (a *NgingCodeVerification) Short_() string

func (*NgingCodeVerification) Struct_

func (a *NgingCodeVerification) Struct_() string

func (*NgingCodeVerification) Trans

func (*NgingCodeVerification) Upsert

func (a *NgingCodeVerification) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCodeVerification) Use

func (*NgingCodeVerification) Validate

func (a *NgingCodeVerification) Validate(field string, value interface{}) error

func (*NgingCodeVerification) XObjects

type NgingCollectorExport

type NgingCollectorExport 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
}

NgingCollectorExport 导出规则

func (*NgingCollectorExport) Add

func (a *NgingCollectorExport) Add() (pk interface{}, err error)

func (*NgingCollectorExport) AsKV

func (a *NgingCollectorExport) AsKV(keyField string, valueField string, inputRows ...[]*NgingCollectorExport) param.Store

func (*NgingCollectorExport) AsMap

func (a *NgingCollectorExport) AsMap() param.Store

func (*NgingCollectorExport) AsRow

func (a *NgingCollectorExport) AsRow() param.Store

func (*NgingCollectorExport) BatchValidate

func (a *NgingCollectorExport) BatchValidate(kvset map[string]interface{}) error

func (*NgingCollectorExport) CPAFrom

func (a *NgingCollectorExport) CPAFrom(source factory.Model) factory.Model

func (*NgingCollectorExport) Context

func (a *NgingCollectorExport) Context() echo.Context

func (*NgingCollectorExport) Count

func (a *NgingCollectorExport) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCollectorExport) Delete

func (a *NgingCollectorExport) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorExport) Edit

func (a *NgingCollectorExport) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorExport) EventOFF

func (a *NgingCollectorExport) EventOFF(off ...bool) factory.Model

func (*NgingCollectorExport) EventON

func (a *NgingCollectorExport) EventON(on ...bool) factory.Model

func (*NgingCollectorExport) FromRow

func (a *NgingCollectorExport) FromRow(row map[string]interface{})

func (*NgingCollectorExport) Get

func (a *NgingCollectorExport) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorExport) GroupBy

func (a *NgingCollectorExport) GroupBy(keyField string, inputRows ...[]*NgingCollectorExport) map[string][]*NgingCollectorExport

func (*NgingCollectorExport) InitObjects

func (a *NgingCollectorExport) InitObjects() *[]*NgingCollectorExport

func (*NgingCollectorExport) KeyBy

func (a *NgingCollectorExport) KeyBy(keyField string, inputRows ...[]*NgingCollectorExport) map[string]*NgingCollectorExport

func (*NgingCollectorExport) List

func (a *NgingCollectorExport) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorExport) ListByOffset

func (a *NgingCollectorExport) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorExport) Name_

func (a *NgingCollectorExport) Name_() string

func (*NgingCollectorExport) Namer

func (a *NgingCollectorExport) Namer() func(string) string

func (*NgingCollectorExport) New

func (a *NgingCollectorExport) New(structName string, connID ...int) factory.Model

func (*NgingCollectorExport) NewObjects

func (a *NgingCollectorExport) NewObjects() factory.Ranger

func (*NgingCollectorExport) NewParam

func (a *NgingCollectorExport) NewParam() *factory.Param

func (*NgingCollectorExport) Objects

func (*NgingCollectorExport) Param

func (a *NgingCollectorExport) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCollectorExport) Reset

func (*NgingCollectorExport) Set

func (a *NgingCollectorExport) Set(key interface{}, value ...interface{})

func (*NgingCollectorExport) SetConnID

func (a *NgingCollectorExport) SetConnID(connID int) factory.Model

func (*NgingCollectorExport) SetContext

func (a *NgingCollectorExport) SetContext(ctx echo.Context) factory.Model

func (*NgingCollectorExport) SetField

func (a *NgingCollectorExport) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCollectorExport) SetFields

func (a *NgingCollectorExport) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCollectorExport) SetNamer

func (a *NgingCollectorExport) SetNamer(namer func(string) string) factory.Model

func (*NgingCollectorExport) SetParam

func (a *NgingCollectorExport) SetParam(param *factory.Param) factory.Model

func (*NgingCollectorExport) Short_

func (a *NgingCollectorExport) Short_() string

func (*NgingCollectorExport) Struct_

func (a *NgingCollectorExport) Struct_() string

func (*NgingCollectorExport) Trans

func (*NgingCollectorExport) Upsert

func (a *NgingCollectorExport) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCollectorExport) Use

func (*NgingCollectorExport) Validate

func (a *NgingCollectorExport) Validate(field string, value interface{}) error

func (*NgingCollectorExport) XObjects

type NgingCollectorExportLog

type NgingCollectorExportLog 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
}

NgingCollectorExportLog 导出日志

func (*NgingCollectorExportLog) Add

func (a *NgingCollectorExportLog) Add() (pk interface{}, err error)

func (*NgingCollectorExportLog) AsKV

func (a *NgingCollectorExportLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingCollectorExportLog) param.Store

func (*NgingCollectorExportLog) AsMap

func (a *NgingCollectorExportLog) AsMap() param.Store

func (*NgingCollectorExportLog) AsRow

func (a *NgingCollectorExportLog) AsRow() param.Store

func (*NgingCollectorExportLog) BatchValidate

func (a *NgingCollectorExportLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingCollectorExportLog) CPAFrom

func (a *NgingCollectorExportLog) CPAFrom(source factory.Model) factory.Model

func (*NgingCollectorExportLog) Context

func (a *NgingCollectorExportLog) Context() echo.Context

func (*NgingCollectorExportLog) Count

func (a *NgingCollectorExportLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCollectorExportLog) Delete

func (a *NgingCollectorExportLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorExportLog) Edit

func (a *NgingCollectorExportLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorExportLog) EventOFF

func (a *NgingCollectorExportLog) EventOFF(off ...bool) factory.Model

func (*NgingCollectorExportLog) EventON

func (a *NgingCollectorExportLog) EventON(on ...bool) factory.Model

func (*NgingCollectorExportLog) FromRow

func (a *NgingCollectorExportLog) FromRow(row map[string]interface{})

func (*NgingCollectorExportLog) Get

func (a *NgingCollectorExportLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorExportLog) GroupBy

func (a *NgingCollectorExportLog) GroupBy(keyField string, inputRows ...[]*NgingCollectorExportLog) map[string][]*NgingCollectorExportLog

func (*NgingCollectorExportLog) InitObjects

func (a *NgingCollectorExportLog) InitObjects() *[]*NgingCollectorExportLog

func (*NgingCollectorExportLog) KeyBy

func (a *NgingCollectorExportLog) KeyBy(keyField string, inputRows ...[]*NgingCollectorExportLog) map[string]*NgingCollectorExportLog

func (*NgingCollectorExportLog) List

func (a *NgingCollectorExportLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorExportLog) ListByOffset

func (a *NgingCollectorExportLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorExportLog) Name_

func (a *NgingCollectorExportLog) Name_() string

func (*NgingCollectorExportLog) Namer

func (a *NgingCollectorExportLog) Namer() func(string) string

func (*NgingCollectorExportLog) New

func (a *NgingCollectorExportLog) New(structName string, connID ...int) factory.Model

func (*NgingCollectorExportLog) NewObjects

func (a *NgingCollectorExportLog) NewObjects() factory.Ranger

func (*NgingCollectorExportLog) NewParam

func (a *NgingCollectorExportLog) NewParam() *factory.Param

func (*NgingCollectorExportLog) Objects

func (*NgingCollectorExportLog) Param

func (a *NgingCollectorExportLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCollectorExportLog) Reset

func (*NgingCollectorExportLog) Set

func (a *NgingCollectorExportLog) Set(key interface{}, value ...interface{})

func (*NgingCollectorExportLog) SetConnID

func (a *NgingCollectorExportLog) SetConnID(connID int) factory.Model

func (*NgingCollectorExportLog) SetContext

func (a *NgingCollectorExportLog) SetContext(ctx echo.Context) factory.Model

func (*NgingCollectorExportLog) SetField

func (a *NgingCollectorExportLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCollectorExportLog) SetFields

func (a *NgingCollectorExportLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCollectorExportLog) SetNamer

func (a *NgingCollectorExportLog) SetNamer(namer func(string) string) factory.Model

func (*NgingCollectorExportLog) SetParam

func (a *NgingCollectorExportLog) SetParam(param *factory.Param) factory.Model

func (*NgingCollectorExportLog) Short_

func (a *NgingCollectorExportLog) Short_() string

func (*NgingCollectorExportLog) Struct_

func (a *NgingCollectorExportLog) Struct_() string

func (*NgingCollectorExportLog) Trans

func (*NgingCollectorExportLog) Upsert

func (a *NgingCollectorExportLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCollectorExportLog) Use

func (*NgingCollectorExportLog) Validate

func (a *NgingCollectorExportLog) Validate(field string, value interface{}) error

func (*NgingCollectorExportLog) XObjects

type NgingCollectorGroup

type NgingCollectorGroup 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
}

NgingCollectorGroup 采集规则组

func (*NgingCollectorGroup) Add

func (a *NgingCollectorGroup) Add() (pk interface{}, err error)

func (*NgingCollectorGroup) AsKV

func (a *NgingCollectorGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingCollectorGroup) param.Store

func (*NgingCollectorGroup) AsMap

func (a *NgingCollectorGroup) AsMap() param.Store

func (*NgingCollectorGroup) AsRow

func (a *NgingCollectorGroup) AsRow() param.Store

func (*NgingCollectorGroup) BatchValidate

func (a *NgingCollectorGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingCollectorGroup) CPAFrom

func (a *NgingCollectorGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingCollectorGroup) Context

func (a *NgingCollectorGroup) Context() echo.Context

func (*NgingCollectorGroup) Count

func (a *NgingCollectorGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCollectorGroup) Delete

func (a *NgingCollectorGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorGroup) Edit

func (a *NgingCollectorGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorGroup) EventOFF

func (a *NgingCollectorGroup) EventOFF(off ...bool) factory.Model

func (*NgingCollectorGroup) EventON

func (a *NgingCollectorGroup) EventON(on ...bool) factory.Model

func (*NgingCollectorGroup) FromRow

func (a *NgingCollectorGroup) FromRow(row map[string]interface{})

func (*NgingCollectorGroup) Get

func (a *NgingCollectorGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorGroup) GroupBy

func (a *NgingCollectorGroup) GroupBy(keyField string, inputRows ...[]*NgingCollectorGroup) map[string][]*NgingCollectorGroup

func (*NgingCollectorGroup) InitObjects

func (a *NgingCollectorGroup) InitObjects() *[]*NgingCollectorGroup

func (*NgingCollectorGroup) KeyBy

func (a *NgingCollectorGroup) KeyBy(keyField string, inputRows ...[]*NgingCollectorGroup) map[string]*NgingCollectorGroup

func (*NgingCollectorGroup) List

func (a *NgingCollectorGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorGroup) ListByOffset

func (a *NgingCollectorGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorGroup) Name_

func (a *NgingCollectorGroup) Name_() string

func (*NgingCollectorGroup) Namer

func (a *NgingCollectorGroup) Namer() func(string) string

func (*NgingCollectorGroup) New

func (a *NgingCollectorGroup) New(structName string, connID ...int) factory.Model

func (*NgingCollectorGroup) NewObjects

func (a *NgingCollectorGroup) NewObjects() factory.Ranger

func (*NgingCollectorGroup) NewParam

func (a *NgingCollectorGroup) NewParam() *factory.Param

func (*NgingCollectorGroup) Objects

func (a *NgingCollectorGroup) Objects() []*NgingCollectorGroup

func (*NgingCollectorGroup) Param

func (a *NgingCollectorGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCollectorGroup) Reset

func (*NgingCollectorGroup) Set

func (a *NgingCollectorGroup) Set(key interface{}, value ...interface{})

func (*NgingCollectorGroup) SetConnID

func (a *NgingCollectorGroup) SetConnID(connID int) factory.Model

func (*NgingCollectorGroup) SetContext

func (a *NgingCollectorGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingCollectorGroup) SetField

func (a *NgingCollectorGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCollectorGroup) SetFields

func (a *NgingCollectorGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCollectorGroup) SetNamer

func (a *NgingCollectorGroup) SetNamer(namer func(string) string) factory.Model

func (*NgingCollectorGroup) SetParam

func (a *NgingCollectorGroup) SetParam(param *factory.Param) factory.Model

func (*NgingCollectorGroup) Short_

func (a *NgingCollectorGroup) Short_() string

func (*NgingCollectorGroup) Struct_

func (a *NgingCollectorGroup) Struct_() string

func (*NgingCollectorGroup) Trans

func (*NgingCollectorGroup) Upsert

func (a *NgingCollectorGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCollectorGroup) Use

func (*NgingCollectorGroup) Validate

func (a *NgingCollectorGroup) Validate(field string, value interface{}) error

func (*NgingCollectorGroup) XObjects

type NgingCollectorHistory

type NgingCollectorHistory 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
}

NgingCollectorHistory 采集历史

func (*NgingCollectorHistory) Add

func (a *NgingCollectorHistory) Add() (pk interface{}, err error)

func (*NgingCollectorHistory) AsKV

func (a *NgingCollectorHistory) AsKV(keyField string, valueField string, inputRows ...[]*NgingCollectorHistory) param.Store

func (*NgingCollectorHistory) AsMap

func (a *NgingCollectorHistory) AsMap() param.Store

func (*NgingCollectorHistory) AsRow

func (a *NgingCollectorHistory) AsRow() param.Store

func (*NgingCollectorHistory) BatchValidate

func (a *NgingCollectorHistory) BatchValidate(kvset map[string]interface{}) error

func (*NgingCollectorHistory) CPAFrom

func (a *NgingCollectorHistory) CPAFrom(source factory.Model) factory.Model

func (*NgingCollectorHistory) Context

func (a *NgingCollectorHistory) Context() echo.Context

func (*NgingCollectorHistory) Count

func (a *NgingCollectorHistory) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCollectorHistory) Delete

func (a *NgingCollectorHistory) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorHistory) Edit

func (a *NgingCollectorHistory) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorHistory) EventOFF

func (a *NgingCollectorHistory) EventOFF(off ...bool) factory.Model

func (*NgingCollectorHistory) EventON

func (a *NgingCollectorHistory) EventON(on ...bool) factory.Model

func (*NgingCollectorHistory) FromRow

func (a *NgingCollectorHistory) FromRow(row map[string]interface{})

func (*NgingCollectorHistory) Get

func (a *NgingCollectorHistory) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorHistory) GroupBy

func (a *NgingCollectorHistory) GroupBy(keyField string, inputRows ...[]*NgingCollectorHistory) map[string][]*NgingCollectorHistory

func (*NgingCollectorHistory) InitObjects

func (a *NgingCollectorHistory) InitObjects() *[]*NgingCollectorHistory

func (*NgingCollectorHistory) KeyBy

func (a *NgingCollectorHistory) KeyBy(keyField string, inputRows ...[]*NgingCollectorHistory) map[string]*NgingCollectorHistory

func (*NgingCollectorHistory) List

func (a *NgingCollectorHistory) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorHistory) ListByOffset

func (a *NgingCollectorHistory) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorHistory) Name_

func (a *NgingCollectorHistory) Name_() string

func (*NgingCollectorHistory) Namer

func (a *NgingCollectorHistory) Namer() func(string) string

func (*NgingCollectorHistory) New

func (a *NgingCollectorHistory) New(structName string, connID ...int) factory.Model

func (*NgingCollectorHistory) NewObjects

func (a *NgingCollectorHistory) NewObjects() factory.Ranger

func (*NgingCollectorHistory) NewParam

func (a *NgingCollectorHistory) NewParam() *factory.Param

func (*NgingCollectorHistory) Objects

func (*NgingCollectorHistory) Param

func (a *NgingCollectorHistory) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCollectorHistory) Reset

func (*NgingCollectorHistory) Set

func (a *NgingCollectorHistory) Set(key interface{}, value ...interface{})

func (*NgingCollectorHistory) SetConnID

func (a *NgingCollectorHistory) SetConnID(connID int) factory.Model

func (*NgingCollectorHistory) SetContext

func (a *NgingCollectorHistory) SetContext(ctx echo.Context) factory.Model

func (*NgingCollectorHistory) SetField

func (a *NgingCollectorHistory) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCollectorHistory) SetFields

func (a *NgingCollectorHistory) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCollectorHistory) SetNamer

func (a *NgingCollectorHistory) SetNamer(namer func(string) string) factory.Model

func (*NgingCollectorHistory) SetParam

func (a *NgingCollectorHistory) SetParam(param *factory.Param) factory.Model

func (*NgingCollectorHistory) Short_

func (a *NgingCollectorHistory) Short_() string

func (*NgingCollectorHistory) Struct_

func (a *NgingCollectorHistory) Struct_() string

func (*NgingCollectorHistory) Trans

func (*NgingCollectorHistory) Upsert

func (a *NgingCollectorHistory) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCollectorHistory) Use

func (*NgingCollectorHistory) Validate

func (a *NgingCollectorHistory) Validate(field string, value interface{}) error

func (*NgingCollectorHistory) XObjects

type NgingCollectorPage

type NgingCollectorPage 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
}

NgingCollectorPage 采集页面

func (*NgingCollectorPage) Add

func (a *NgingCollectorPage) Add() (pk interface{}, err error)

func (*NgingCollectorPage) AsKV

func (a *NgingCollectorPage) AsKV(keyField string, valueField string, inputRows ...[]*NgingCollectorPage) param.Store

func (*NgingCollectorPage) AsMap

func (a *NgingCollectorPage) AsMap() param.Store

func (*NgingCollectorPage) AsRow

func (a *NgingCollectorPage) AsRow() param.Store

func (*NgingCollectorPage) BatchValidate

func (a *NgingCollectorPage) BatchValidate(kvset map[string]interface{}) error

func (*NgingCollectorPage) CPAFrom

func (a *NgingCollectorPage) CPAFrom(source factory.Model) factory.Model

func (*NgingCollectorPage) Context

func (a *NgingCollectorPage) Context() echo.Context

func (*NgingCollectorPage) Count

func (a *NgingCollectorPage) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCollectorPage) Delete

func (a *NgingCollectorPage) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorPage) Edit

func (a *NgingCollectorPage) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorPage) EventOFF

func (a *NgingCollectorPage) EventOFF(off ...bool) factory.Model

func (*NgingCollectorPage) EventON

func (a *NgingCollectorPage) EventON(on ...bool) factory.Model

func (*NgingCollectorPage) FromRow

func (a *NgingCollectorPage) FromRow(row map[string]interface{})

func (*NgingCollectorPage) Get

func (a *NgingCollectorPage) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorPage) GroupBy

func (a *NgingCollectorPage) GroupBy(keyField string, inputRows ...[]*NgingCollectorPage) map[string][]*NgingCollectorPage

func (*NgingCollectorPage) InitObjects

func (a *NgingCollectorPage) InitObjects() *[]*NgingCollectorPage

func (*NgingCollectorPage) KeyBy

func (a *NgingCollectorPage) KeyBy(keyField string, inputRows ...[]*NgingCollectorPage) map[string]*NgingCollectorPage

func (*NgingCollectorPage) List

func (a *NgingCollectorPage) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorPage) ListByOffset

func (a *NgingCollectorPage) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorPage) Name_

func (a *NgingCollectorPage) Name_() string

func (*NgingCollectorPage) Namer

func (a *NgingCollectorPage) Namer() func(string) string

func (*NgingCollectorPage) New

func (a *NgingCollectorPage) New(structName string, connID ...int) factory.Model

func (*NgingCollectorPage) NewObjects

func (a *NgingCollectorPage) NewObjects() factory.Ranger

func (*NgingCollectorPage) NewParam

func (a *NgingCollectorPage) NewParam() *factory.Param

func (*NgingCollectorPage) Objects

func (a *NgingCollectorPage) Objects() []*NgingCollectorPage

func (*NgingCollectorPage) Param

func (a *NgingCollectorPage) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCollectorPage) Reset

func (*NgingCollectorPage) Set

func (a *NgingCollectorPage) Set(key interface{}, value ...interface{})

func (*NgingCollectorPage) SetConnID

func (a *NgingCollectorPage) SetConnID(connID int) factory.Model

func (*NgingCollectorPage) SetContext

func (a *NgingCollectorPage) SetContext(ctx echo.Context) factory.Model

func (*NgingCollectorPage) SetField

func (a *NgingCollectorPage) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCollectorPage) SetFields

func (a *NgingCollectorPage) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCollectorPage) SetNamer

func (a *NgingCollectorPage) SetNamer(namer func(string) string) factory.Model

func (*NgingCollectorPage) SetParam

func (a *NgingCollectorPage) SetParam(param *factory.Param) factory.Model

func (*NgingCollectorPage) Short_

func (a *NgingCollectorPage) Short_() string

func (*NgingCollectorPage) Struct_

func (a *NgingCollectorPage) Struct_() string

func (*NgingCollectorPage) Trans

func (*NgingCollectorPage) Upsert

func (a *NgingCollectorPage) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCollectorPage) Use

func (*NgingCollectorPage) Validate

func (a *NgingCollectorPage) Validate(field string, value interface{}) error

func (*NgingCollectorPage) XObjects

type NgingCollectorRule

type NgingCollectorRule 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
}

NgingCollectorRule 页面中的元素采集规则

func (*NgingCollectorRule) Add

func (a *NgingCollectorRule) Add() (pk interface{}, err error)

func (*NgingCollectorRule) AsKV

func (a *NgingCollectorRule) AsKV(keyField string, valueField string, inputRows ...[]*NgingCollectorRule) param.Store

func (*NgingCollectorRule) AsMap

func (a *NgingCollectorRule) AsMap() param.Store

func (*NgingCollectorRule) AsRow

func (a *NgingCollectorRule) AsRow() param.Store

func (*NgingCollectorRule) BatchValidate

func (a *NgingCollectorRule) BatchValidate(kvset map[string]interface{}) error

func (*NgingCollectorRule) CPAFrom

func (a *NgingCollectorRule) CPAFrom(source factory.Model) factory.Model

func (*NgingCollectorRule) Context

func (a *NgingCollectorRule) Context() echo.Context

func (*NgingCollectorRule) Count

func (a *NgingCollectorRule) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCollectorRule) Delete

func (a *NgingCollectorRule) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorRule) Edit

func (a *NgingCollectorRule) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorRule) EventOFF

func (a *NgingCollectorRule) EventOFF(off ...bool) factory.Model

func (*NgingCollectorRule) EventON

func (a *NgingCollectorRule) EventON(on ...bool) factory.Model

func (*NgingCollectorRule) FromRow

func (a *NgingCollectorRule) FromRow(row map[string]interface{})

func (*NgingCollectorRule) Get

func (a *NgingCollectorRule) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCollectorRule) GroupBy

func (a *NgingCollectorRule) GroupBy(keyField string, inputRows ...[]*NgingCollectorRule) map[string][]*NgingCollectorRule

func (*NgingCollectorRule) InitObjects

func (a *NgingCollectorRule) InitObjects() *[]*NgingCollectorRule

func (*NgingCollectorRule) KeyBy

func (a *NgingCollectorRule) KeyBy(keyField string, inputRows ...[]*NgingCollectorRule) map[string]*NgingCollectorRule

func (*NgingCollectorRule) List

func (a *NgingCollectorRule) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorRule) ListByOffset

func (a *NgingCollectorRule) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCollectorRule) Name_

func (a *NgingCollectorRule) Name_() string

func (*NgingCollectorRule) Namer

func (a *NgingCollectorRule) Namer() func(string) string

func (*NgingCollectorRule) New

func (a *NgingCollectorRule) New(structName string, connID ...int) factory.Model

func (*NgingCollectorRule) NewObjects

func (a *NgingCollectorRule) NewObjects() factory.Ranger

func (*NgingCollectorRule) NewParam

func (a *NgingCollectorRule) NewParam() *factory.Param

func (*NgingCollectorRule) Objects

func (a *NgingCollectorRule) Objects() []*NgingCollectorRule

func (*NgingCollectorRule) Param

func (a *NgingCollectorRule) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCollectorRule) Reset

func (*NgingCollectorRule) Set

func (a *NgingCollectorRule) Set(key interface{}, value ...interface{})

func (*NgingCollectorRule) SetConnID

func (a *NgingCollectorRule) SetConnID(connID int) factory.Model

func (*NgingCollectorRule) SetContext

func (a *NgingCollectorRule) SetContext(ctx echo.Context) factory.Model

func (*NgingCollectorRule) SetField

func (a *NgingCollectorRule) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCollectorRule) SetFields

func (a *NgingCollectorRule) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCollectorRule) SetNamer

func (a *NgingCollectorRule) SetNamer(namer func(string) string) factory.Model

func (*NgingCollectorRule) SetParam

func (a *NgingCollectorRule) SetParam(param *factory.Param) factory.Model

func (*NgingCollectorRule) Short_

func (a *NgingCollectorRule) Short_() string

func (*NgingCollectorRule) Struct_

func (a *NgingCollectorRule) Struct_() string

func (*NgingCollectorRule) Trans

func (*NgingCollectorRule) Upsert

func (a *NgingCollectorRule) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCollectorRule) Use

func (*NgingCollectorRule) Validate

func (a *NgingCollectorRule) Validate(field string, value interface{}) error

func (*NgingCollectorRule) XObjects

type NgingCommand

type NgingCommand 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
}

NgingCommand 指令集

func (*NgingCommand) Add

func (a *NgingCommand) Add() (pk interface{}, err error)

func (*NgingCommand) AsKV

func (a *NgingCommand) AsKV(keyField string, valueField string, inputRows ...[]*NgingCommand) param.Store

func (*NgingCommand) AsMap

func (a *NgingCommand) AsMap() param.Store

func (*NgingCommand) AsRow

func (a *NgingCommand) AsRow() param.Store

func (*NgingCommand) BatchValidate

func (a *NgingCommand) BatchValidate(kvset map[string]interface{}) error

func (*NgingCommand) CPAFrom

func (a *NgingCommand) CPAFrom(source factory.Model) factory.Model

func (*NgingCommand) Context

func (a *NgingCommand) Context() echo.Context

func (*NgingCommand) Count

func (a *NgingCommand) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingCommand) Delete

func (a *NgingCommand) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCommand) Edit

func (a *NgingCommand) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCommand) EventOFF

func (a *NgingCommand) EventOFF(off ...bool) factory.Model

func (*NgingCommand) EventON

func (a *NgingCommand) EventON(on ...bool) factory.Model

func (*NgingCommand) FromRow

func (a *NgingCommand) FromRow(row map[string]interface{})

func (*NgingCommand) Get

func (a *NgingCommand) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingCommand) GroupBy

func (a *NgingCommand) GroupBy(keyField string, inputRows ...[]*NgingCommand) map[string][]*NgingCommand

func (*NgingCommand) InitObjects

func (a *NgingCommand) InitObjects() *[]*NgingCommand

func (*NgingCommand) KeyBy

func (a *NgingCommand) KeyBy(keyField string, inputRows ...[]*NgingCommand) map[string]*NgingCommand

func (*NgingCommand) List

func (a *NgingCommand) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingCommand) ListByOffset

func (a *NgingCommand) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingCommand) Name_

func (a *NgingCommand) Name_() string

func (*NgingCommand) Namer

func (a *NgingCommand) Namer() func(string) string

func (*NgingCommand) New

func (a *NgingCommand) New(structName string, connID ...int) factory.Model

func (*NgingCommand) NewObjects

func (a *NgingCommand) NewObjects() factory.Ranger

func (*NgingCommand) NewParam

func (a *NgingCommand) NewParam() *factory.Param

func (*NgingCommand) Objects

func (a *NgingCommand) Objects() []*NgingCommand

func (*NgingCommand) Param

func (a *NgingCommand) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingCommand) Reset

func (a *NgingCommand) Reset() *NgingCommand

func (*NgingCommand) Set

func (a *NgingCommand) Set(key interface{}, value ...interface{})

func (*NgingCommand) SetConnID

func (a *NgingCommand) SetConnID(connID int) factory.Model

func (*NgingCommand) SetContext

func (a *NgingCommand) SetContext(ctx echo.Context) factory.Model

func (*NgingCommand) SetField

func (a *NgingCommand) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingCommand) SetFields

func (a *NgingCommand) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingCommand) SetNamer

func (a *NgingCommand) SetNamer(namer func(string) string) factory.Model

func (*NgingCommand) SetParam

func (a *NgingCommand) SetParam(param *factory.Param) factory.Model

func (*NgingCommand) Short_

func (a *NgingCommand) Short_() string

func (*NgingCommand) Struct_

func (a *NgingCommand) Struct_() string

func (*NgingCommand) Trans

func (a *NgingCommand) Trans() *factory.Transaction

func (*NgingCommand) Upsert

func (a *NgingCommand) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingCommand) Use

func (a *NgingCommand) Use(trans *factory.Transaction) factory.Model

func (*NgingCommand) Validate

func (a *NgingCommand) Validate(field string, value interface{}) error

func (*NgingCommand) XObjects

func (a *NgingCommand) XObjects() Slice_NgingCommand

type NgingConfig

type NgingConfig struct {
	Key         string `db:"key,pk" bson:"key" comment:"键" json:"key" xml:"key"`
	Group       string `db:"group,pk" bson:"group" comment:"组" json:"group" xml:"group"`
	Label       string `db:"label" bson:"label" comment:"选项名称" json:"label" xml:"label"`
	Value       string `db:"value" bson:"value" comment:"值" json:"value" xml:"value"`
	Description string `db:"description" bson:"description" comment:"简介" json:"description" xml:"description"`
	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
}

NgingConfig 配置

func (*NgingConfig) Add

func (a *NgingConfig) Add() (pk interface{}, err error)

func (*NgingConfig) AsKV

func (a *NgingConfig) AsKV(keyField string, valueField string, inputRows ...[]*NgingConfig) param.Store

func (*NgingConfig) AsMap

func (a *NgingConfig) AsMap() param.Store

func (*NgingConfig) AsRow

func (a *NgingConfig) AsRow() param.Store

func (*NgingConfig) BatchValidate

func (a *NgingConfig) BatchValidate(kvset map[string]interface{}) error

func (*NgingConfig) CPAFrom

func (a *NgingConfig) CPAFrom(source factory.Model) factory.Model

func (*NgingConfig) Context

func (a *NgingConfig) Context() echo.Context

func (*NgingConfig) Count

func (a *NgingConfig) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingConfig) Delete

func (a *NgingConfig) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingConfig) Edit

func (a *NgingConfig) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingConfig) EventOFF

func (a *NgingConfig) EventOFF(off ...bool) factory.Model

func (*NgingConfig) EventON

func (a *NgingConfig) EventON(on ...bool) factory.Model

func (*NgingConfig) FromRow

func (a *NgingConfig) FromRow(row map[string]interface{})

func (*NgingConfig) Get

func (a *NgingConfig) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingConfig) GroupBy

func (a *NgingConfig) GroupBy(keyField string, inputRows ...[]*NgingConfig) map[string][]*NgingConfig

func (*NgingConfig) InitObjects

func (a *NgingConfig) InitObjects() *[]*NgingConfig

func (*NgingConfig) KeyBy

func (a *NgingConfig) KeyBy(keyField string, inputRows ...[]*NgingConfig) map[string]*NgingConfig

func (*NgingConfig) List

func (a *NgingConfig) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingConfig) ListByOffset

func (a *NgingConfig) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingConfig) Name_

func (a *NgingConfig) Name_() string

func (*NgingConfig) Namer

func (a *NgingConfig) Namer() func(string) string

func (*NgingConfig) New

func (a *NgingConfig) New(structName string, connID ...int) factory.Model

func (*NgingConfig) NewObjects

func (a *NgingConfig) NewObjects() factory.Ranger

func (*NgingConfig) NewParam

func (a *NgingConfig) NewParam() *factory.Param

func (*NgingConfig) Objects

func (a *NgingConfig) Objects() []*NgingConfig

func (*NgingConfig) Param

func (a *NgingConfig) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingConfig) Reset

func (a *NgingConfig) Reset() *NgingConfig

func (*NgingConfig) Set

func (a *NgingConfig) Set(key interface{}, value ...interface{})

func (*NgingConfig) SetConnID

func (a *NgingConfig) SetConnID(connID int) factory.Model

func (*NgingConfig) SetContext

func (a *NgingConfig) SetContext(ctx echo.Context) factory.Model

func (*NgingConfig) SetField

func (a *NgingConfig) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingConfig) SetFields

func (a *NgingConfig) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingConfig) SetNamer

func (a *NgingConfig) SetNamer(namer func(string) string) factory.Model

func (*NgingConfig) SetParam

func (a *NgingConfig) SetParam(param *factory.Param) factory.Model

func (*NgingConfig) Short_

func (a *NgingConfig) Short_() string

func (*NgingConfig) Struct_

func (a *NgingConfig) Struct_() string

func (*NgingConfig) Trans

func (a *NgingConfig) Trans() *factory.Transaction

func (*NgingConfig) Upsert

func (a *NgingConfig) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingConfig) Use

func (a *NgingConfig) Use(trans *factory.Transaction) factory.Model

func (*NgingConfig) Validate

func (a *NgingConfig) Validate(field string, value interface{}) error

func (*NgingConfig) XObjects

func (a *NgingConfig) XObjects() Slice_NgingConfig

type NgingDbAccount

type NgingDbAccount 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
}

NgingDbAccount 数据库账号

func (*NgingDbAccount) Add

func (a *NgingDbAccount) Add() (pk interface{}, err error)

func (*NgingDbAccount) AsKV

func (a *NgingDbAccount) AsKV(keyField string, valueField string, inputRows ...[]*NgingDbAccount) param.Store

func (*NgingDbAccount) AsMap

func (a *NgingDbAccount) AsMap() param.Store

func (*NgingDbAccount) AsRow

func (a *NgingDbAccount) AsRow() param.Store

func (*NgingDbAccount) BatchValidate

func (a *NgingDbAccount) BatchValidate(kvset map[string]interface{}) error

func (*NgingDbAccount) CPAFrom

func (a *NgingDbAccount) CPAFrom(source factory.Model) factory.Model

func (*NgingDbAccount) Context

func (a *NgingDbAccount) Context() echo.Context

func (*NgingDbAccount) Count

func (a *NgingDbAccount) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingDbAccount) Delete

func (a *NgingDbAccount) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbAccount) Edit

func (a *NgingDbAccount) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbAccount) EventOFF

func (a *NgingDbAccount) EventOFF(off ...bool) factory.Model

func (*NgingDbAccount) EventON

func (a *NgingDbAccount) EventON(on ...bool) factory.Model

func (*NgingDbAccount) FromRow

func (a *NgingDbAccount) FromRow(row map[string]interface{})

func (*NgingDbAccount) Get

func (a *NgingDbAccount) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbAccount) GroupBy

func (a *NgingDbAccount) GroupBy(keyField string, inputRows ...[]*NgingDbAccount) map[string][]*NgingDbAccount

func (*NgingDbAccount) InitObjects

func (a *NgingDbAccount) InitObjects() *[]*NgingDbAccount

func (*NgingDbAccount) KeyBy

func (a *NgingDbAccount) KeyBy(keyField string, inputRows ...[]*NgingDbAccount) map[string]*NgingDbAccount

func (*NgingDbAccount) List

func (a *NgingDbAccount) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingDbAccount) ListByOffset

func (a *NgingDbAccount) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingDbAccount) Name_

func (a *NgingDbAccount) Name_() string

func (*NgingDbAccount) Namer

func (a *NgingDbAccount) Namer() func(string) string

func (*NgingDbAccount) New

func (a *NgingDbAccount) New(structName string, connID ...int) factory.Model

func (*NgingDbAccount) NewObjects

func (a *NgingDbAccount) NewObjects() factory.Ranger

func (*NgingDbAccount) NewParam

func (a *NgingDbAccount) NewParam() *factory.Param

func (*NgingDbAccount) Objects

func (a *NgingDbAccount) Objects() []*NgingDbAccount

func (*NgingDbAccount) Param

func (a *NgingDbAccount) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingDbAccount) Reset

func (a *NgingDbAccount) Reset() *NgingDbAccount

func (*NgingDbAccount) Set

func (a *NgingDbAccount) Set(key interface{}, value ...interface{})

func (*NgingDbAccount) SetConnID

func (a *NgingDbAccount) SetConnID(connID int) factory.Model

func (*NgingDbAccount) SetContext

func (a *NgingDbAccount) SetContext(ctx echo.Context) factory.Model

func (*NgingDbAccount) SetField

func (a *NgingDbAccount) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingDbAccount) SetFields

func (a *NgingDbAccount) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingDbAccount) SetNamer

func (a *NgingDbAccount) SetNamer(namer func(string) string) factory.Model

func (*NgingDbAccount) SetParam

func (a *NgingDbAccount) SetParam(param *factory.Param) factory.Model

func (*NgingDbAccount) Short_

func (a *NgingDbAccount) Short_() string

func (*NgingDbAccount) Struct_

func (a *NgingDbAccount) Struct_() string

func (*NgingDbAccount) Trans

func (a *NgingDbAccount) Trans() *factory.Transaction

func (*NgingDbAccount) Upsert

func (a *NgingDbAccount) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingDbAccount) Use

func (*NgingDbAccount) Validate

func (a *NgingDbAccount) Validate(field string, value interface{}) error

func (*NgingDbAccount) XObjects

func (a *NgingDbAccount) XObjects() Slice_NgingDbAccount

type NgingDbSync

type NgingDbSync 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
}

NgingDbSync 数据表同步方案

func (*NgingDbSync) Add

func (a *NgingDbSync) Add() (pk interface{}, err error)

func (*NgingDbSync) AsKV

func (a *NgingDbSync) AsKV(keyField string, valueField string, inputRows ...[]*NgingDbSync) param.Store

func (*NgingDbSync) AsMap

func (a *NgingDbSync) AsMap() param.Store

func (*NgingDbSync) AsRow

func (a *NgingDbSync) AsRow() param.Store

func (*NgingDbSync) BatchValidate

func (a *NgingDbSync) BatchValidate(kvset map[string]interface{}) error

func (*NgingDbSync) CPAFrom

func (a *NgingDbSync) CPAFrom(source factory.Model) factory.Model

func (*NgingDbSync) Context

func (a *NgingDbSync) Context() echo.Context

func (*NgingDbSync) Count

func (a *NgingDbSync) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingDbSync) Delete

func (a *NgingDbSync) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbSync) Edit

func (a *NgingDbSync) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbSync) EventOFF

func (a *NgingDbSync) EventOFF(off ...bool) factory.Model

func (*NgingDbSync) EventON

func (a *NgingDbSync) EventON(on ...bool) factory.Model

func (*NgingDbSync) FromRow

func (a *NgingDbSync) FromRow(row map[string]interface{})

func (*NgingDbSync) Get

func (a *NgingDbSync) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbSync) GroupBy

func (a *NgingDbSync) GroupBy(keyField string, inputRows ...[]*NgingDbSync) map[string][]*NgingDbSync

func (*NgingDbSync) InitObjects

func (a *NgingDbSync) InitObjects() *[]*NgingDbSync

func (*NgingDbSync) KeyBy

func (a *NgingDbSync) KeyBy(keyField string, inputRows ...[]*NgingDbSync) map[string]*NgingDbSync

func (*NgingDbSync) List

func (a *NgingDbSync) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingDbSync) ListByOffset

func (a *NgingDbSync) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingDbSync) Name_

func (a *NgingDbSync) Name_() string

func (*NgingDbSync) Namer

func (a *NgingDbSync) Namer() func(string) string

func (*NgingDbSync) New

func (a *NgingDbSync) New(structName string, connID ...int) factory.Model

func (*NgingDbSync) NewObjects

func (a *NgingDbSync) NewObjects() factory.Ranger

func (*NgingDbSync) NewParam

func (a *NgingDbSync) NewParam() *factory.Param

func (*NgingDbSync) Objects

func (a *NgingDbSync) Objects() []*NgingDbSync

func (*NgingDbSync) Param

func (a *NgingDbSync) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingDbSync) Reset

func (a *NgingDbSync) Reset() *NgingDbSync

func (*NgingDbSync) Set

func (a *NgingDbSync) Set(key interface{}, value ...interface{})

func (*NgingDbSync) SetConnID

func (a *NgingDbSync) SetConnID(connID int) factory.Model

func (*NgingDbSync) SetContext

func (a *NgingDbSync) SetContext(ctx echo.Context) factory.Model

func (*NgingDbSync) SetField

func (a *NgingDbSync) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingDbSync) SetFields

func (a *NgingDbSync) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingDbSync) SetNamer

func (a *NgingDbSync) SetNamer(namer func(string) string) factory.Model

func (*NgingDbSync) SetParam

func (a *NgingDbSync) SetParam(param *factory.Param) factory.Model

func (*NgingDbSync) Short_

func (a *NgingDbSync) Short_() string

func (*NgingDbSync) Struct_

func (a *NgingDbSync) Struct_() string

func (*NgingDbSync) Trans

func (a *NgingDbSync) Trans() *factory.Transaction

func (*NgingDbSync) Upsert

func (a *NgingDbSync) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingDbSync) Use

func (a *NgingDbSync) Use(trans *factory.Transaction) factory.Model

func (*NgingDbSync) Validate

func (a *NgingDbSync) Validate(field string, value interface{}) error

func (*NgingDbSync) XObjects

func (a *NgingDbSync) XObjects() Slice_NgingDbSync

type NgingDbSyncLog

type NgingDbSyncLog 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
}

NgingDbSyncLog 数据表同步日志

func (*NgingDbSyncLog) Add

func (a *NgingDbSyncLog) Add() (pk interface{}, err error)

func (*NgingDbSyncLog) AsKV

func (a *NgingDbSyncLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingDbSyncLog) param.Store

func (*NgingDbSyncLog) AsMap

func (a *NgingDbSyncLog) AsMap() param.Store

func (*NgingDbSyncLog) AsRow

func (a *NgingDbSyncLog) AsRow() param.Store

func (*NgingDbSyncLog) BatchValidate

func (a *NgingDbSyncLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingDbSyncLog) CPAFrom

func (a *NgingDbSyncLog) CPAFrom(source factory.Model) factory.Model

func (*NgingDbSyncLog) Context

func (a *NgingDbSyncLog) Context() echo.Context

func (*NgingDbSyncLog) Count

func (a *NgingDbSyncLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingDbSyncLog) Delete

func (a *NgingDbSyncLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbSyncLog) Edit

func (a *NgingDbSyncLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbSyncLog) EventOFF

func (a *NgingDbSyncLog) EventOFF(off ...bool) factory.Model

func (*NgingDbSyncLog) EventON

func (a *NgingDbSyncLog) EventON(on ...bool) factory.Model

func (*NgingDbSyncLog) FromRow

func (a *NgingDbSyncLog) FromRow(row map[string]interface{})

func (*NgingDbSyncLog) Get

func (a *NgingDbSyncLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingDbSyncLog) GroupBy

func (a *NgingDbSyncLog) GroupBy(keyField string, inputRows ...[]*NgingDbSyncLog) map[string][]*NgingDbSyncLog

func (*NgingDbSyncLog) InitObjects

func (a *NgingDbSyncLog) InitObjects() *[]*NgingDbSyncLog

func (*NgingDbSyncLog) KeyBy

func (a *NgingDbSyncLog) KeyBy(keyField string, inputRows ...[]*NgingDbSyncLog) map[string]*NgingDbSyncLog

func (*NgingDbSyncLog) List

func (a *NgingDbSyncLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingDbSyncLog) ListByOffset

func (a *NgingDbSyncLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingDbSyncLog) Name_

func (a *NgingDbSyncLog) Name_() string

func (*NgingDbSyncLog) Namer

func (a *NgingDbSyncLog) Namer() func(string) string

func (*NgingDbSyncLog) New

func (a *NgingDbSyncLog) New(structName string, connID ...int) factory.Model

func (*NgingDbSyncLog) NewObjects

func (a *NgingDbSyncLog) NewObjects() factory.Ranger

func (*NgingDbSyncLog) NewParam

func (a *NgingDbSyncLog) NewParam() *factory.Param

func (*NgingDbSyncLog) Objects

func (a *NgingDbSyncLog) Objects() []*NgingDbSyncLog

func (*NgingDbSyncLog) Param

func (a *NgingDbSyncLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingDbSyncLog) Reset

func (a *NgingDbSyncLog) Reset() *NgingDbSyncLog

func (*NgingDbSyncLog) Set

func (a *NgingDbSyncLog) Set(key interface{}, value ...interface{})

func (*NgingDbSyncLog) SetConnID

func (a *NgingDbSyncLog) SetConnID(connID int) factory.Model

func (*NgingDbSyncLog) SetContext

func (a *NgingDbSyncLog) SetContext(ctx echo.Context) factory.Model

func (*NgingDbSyncLog) SetField

func (a *NgingDbSyncLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingDbSyncLog) SetFields

func (a *NgingDbSyncLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingDbSyncLog) SetNamer

func (a *NgingDbSyncLog) SetNamer(namer func(string) string) factory.Model

func (*NgingDbSyncLog) SetParam

func (a *NgingDbSyncLog) SetParam(param *factory.Param) factory.Model

func (*NgingDbSyncLog) Short_

func (a *NgingDbSyncLog) Short_() string

func (*NgingDbSyncLog) Struct_

func (a *NgingDbSyncLog) Struct_() string

func (*NgingDbSyncLog) Trans

func (a *NgingDbSyncLog) Trans() *factory.Transaction

func (*NgingDbSyncLog) Upsert

func (a *NgingDbSyncLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingDbSyncLog) Use

func (*NgingDbSyncLog) Validate

func (a *NgingDbSyncLog) Validate(field string, value interface{}) error

func (*NgingDbSyncLog) XObjects

func (a *NgingDbSyncLog) XObjects() Slice_NgingDbSyncLog

type NgingFile

type NgingFile 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
}

NgingFile 文件表

func (*NgingFile) Add

func (a *NgingFile) Add() (pk interface{}, err error)

func (*NgingFile) AsKV

func (a *NgingFile) AsKV(keyField string, valueField string, inputRows ...[]*NgingFile) param.Store

func (*NgingFile) AsMap

func (a *NgingFile) AsMap() param.Store

func (*NgingFile) AsRow

func (a *NgingFile) AsRow() param.Store

func (*NgingFile) BatchValidate

func (a *NgingFile) BatchValidate(kvset map[string]interface{}) error

func (*NgingFile) CPAFrom

func (a *NgingFile) CPAFrom(source factory.Model) factory.Model

func (*NgingFile) Context

func (a *NgingFile) Context() echo.Context

func (*NgingFile) Count

func (a *NgingFile) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFile) Delete

func (a *NgingFile) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFile) Edit

func (a *NgingFile) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFile) EventOFF

func (a *NgingFile) EventOFF(off ...bool) factory.Model

func (*NgingFile) EventON

func (a *NgingFile) EventON(on ...bool) factory.Model

func (*NgingFile) FromRow

func (a *NgingFile) FromRow(row map[string]interface{})

func (*NgingFile) Get

func (a *NgingFile) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFile) GroupBy

func (a *NgingFile) GroupBy(keyField string, inputRows ...[]*NgingFile) map[string][]*NgingFile

func (*NgingFile) InitObjects

func (a *NgingFile) InitObjects() *[]*NgingFile

func (*NgingFile) KeyBy

func (a *NgingFile) KeyBy(keyField string, inputRows ...[]*NgingFile) map[string]*NgingFile

func (*NgingFile) List

func (a *NgingFile) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFile) ListByOffset

func (a *NgingFile) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFile) Name_

func (a *NgingFile) Name_() string

func (*NgingFile) Namer

func (a *NgingFile) Namer() func(string) string

func (*NgingFile) New

func (a *NgingFile) New(structName string, connID ...int) factory.Model

func (*NgingFile) NewObjects

func (a *NgingFile) NewObjects() factory.Ranger

func (*NgingFile) NewParam

func (a *NgingFile) NewParam() *factory.Param

func (*NgingFile) Objects

func (a *NgingFile) Objects() []*NgingFile

func (*NgingFile) Param

func (a *NgingFile) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFile) Reset

func (a *NgingFile) Reset() *NgingFile

func (*NgingFile) Set

func (a *NgingFile) Set(key interface{}, value ...interface{})

func (*NgingFile) SetConnID

func (a *NgingFile) SetConnID(connID int) factory.Model

func (*NgingFile) SetContext

func (a *NgingFile) SetContext(ctx echo.Context) factory.Model

func (*NgingFile) SetField

func (a *NgingFile) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFile) SetFields

func (a *NgingFile) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFile) SetNamer

func (a *NgingFile) SetNamer(namer func(string) string) factory.Model

func (*NgingFile) SetParam

func (a *NgingFile) SetParam(param *factory.Param) factory.Model

func (*NgingFile) Short_

func (a *NgingFile) Short_() string

func (*NgingFile) Struct_

func (a *NgingFile) Struct_() string

func (*NgingFile) Trans

func (a *NgingFile) Trans() *factory.Transaction

func (*NgingFile) Upsert

func (a *NgingFile) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFile) Use

func (a *NgingFile) Use(trans *factory.Transaction) factory.Model

func (*NgingFile) Validate

func (a *NgingFile) Validate(field string, value interface{}) error

func (*NgingFile) XObjects

func (a *NgingFile) XObjects() Slice_NgingFile

type NgingFileEmbedded

type NgingFileEmbedded 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
}

NgingFileEmbedded 嵌入文件

func (*NgingFileEmbedded) Add

func (a *NgingFileEmbedded) Add() (pk interface{}, err error)

func (*NgingFileEmbedded) AsKV

func (a *NgingFileEmbedded) AsKV(keyField string, valueField string, inputRows ...[]*NgingFileEmbedded) param.Store

func (*NgingFileEmbedded) AsMap

func (a *NgingFileEmbedded) AsMap() param.Store

func (*NgingFileEmbedded) AsRow

func (a *NgingFileEmbedded) AsRow() param.Store

func (*NgingFileEmbedded) BatchValidate

func (a *NgingFileEmbedded) BatchValidate(kvset map[string]interface{}) error

func (*NgingFileEmbedded) CPAFrom

func (a *NgingFileEmbedded) CPAFrom(source factory.Model) factory.Model

func (*NgingFileEmbedded) Context

func (a *NgingFileEmbedded) Context() echo.Context

func (*NgingFileEmbedded) Count

func (a *NgingFileEmbedded) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFileEmbedded) Delete

func (a *NgingFileEmbedded) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileEmbedded) Edit

func (a *NgingFileEmbedded) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileEmbedded) EventOFF

func (a *NgingFileEmbedded) EventOFF(off ...bool) factory.Model

func (*NgingFileEmbedded) EventON

func (a *NgingFileEmbedded) EventON(on ...bool) factory.Model

func (*NgingFileEmbedded) FromRow

func (a *NgingFileEmbedded) FromRow(row map[string]interface{})

func (*NgingFileEmbedded) Get

func (a *NgingFileEmbedded) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileEmbedded) GroupBy

func (a *NgingFileEmbedded) GroupBy(keyField string, inputRows ...[]*NgingFileEmbedded) map[string][]*NgingFileEmbedded

func (*NgingFileEmbedded) InitObjects

func (a *NgingFileEmbedded) InitObjects() *[]*NgingFileEmbedded

func (*NgingFileEmbedded) KeyBy

func (a *NgingFileEmbedded) KeyBy(keyField string, inputRows ...[]*NgingFileEmbedded) map[string]*NgingFileEmbedded

func (*NgingFileEmbedded) List

func (a *NgingFileEmbedded) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFileEmbedded) ListByOffset

func (a *NgingFileEmbedded) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFileEmbedded) Name_

func (a *NgingFileEmbedded) Name_() string

func (*NgingFileEmbedded) Namer

func (a *NgingFileEmbedded) Namer() func(string) string

func (*NgingFileEmbedded) New

func (a *NgingFileEmbedded) New(structName string, connID ...int) factory.Model

func (*NgingFileEmbedded) NewObjects

func (a *NgingFileEmbedded) NewObjects() factory.Ranger

func (*NgingFileEmbedded) NewParam

func (a *NgingFileEmbedded) NewParam() *factory.Param

func (*NgingFileEmbedded) Objects

func (a *NgingFileEmbedded) Objects() []*NgingFileEmbedded

func (*NgingFileEmbedded) Param

func (a *NgingFileEmbedded) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFileEmbedded) Reset

func (*NgingFileEmbedded) Set

func (a *NgingFileEmbedded) Set(key interface{}, value ...interface{})

func (*NgingFileEmbedded) SetConnID

func (a *NgingFileEmbedded) SetConnID(connID int) factory.Model

func (*NgingFileEmbedded) SetContext

func (a *NgingFileEmbedded) SetContext(ctx echo.Context) factory.Model

func (*NgingFileEmbedded) SetField

func (a *NgingFileEmbedded) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFileEmbedded) SetFields

func (a *NgingFileEmbedded) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFileEmbedded) SetNamer

func (a *NgingFileEmbedded) SetNamer(namer func(string) string) factory.Model

func (*NgingFileEmbedded) SetParam

func (a *NgingFileEmbedded) SetParam(param *factory.Param) factory.Model

func (*NgingFileEmbedded) Short_

func (a *NgingFileEmbedded) Short_() string

func (*NgingFileEmbedded) Struct_

func (a *NgingFileEmbedded) Struct_() string

func (*NgingFileEmbedded) Trans

func (*NgingFileEmbedded) Upsert

func (a *NgingFileEmbedded) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFileEmbedded) Use

func (*NgingFileEmbedded) Validate

func (a *NgingFileEmbedded) Validate(field string, value interface{}) error

func (*NgingFileEmbedded) XObjects

type NgingFileThumb

type NgingFileThumb 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
}

NgingFileThumb 图片文件缩略图

func (*NgingFileThumb) Add

func (a *NgingFileThumb) Add() (pk interface{}, err error)

func (*NgingFileThumb) AsKV

func (a *NgingFileThumb) AsKV(keyField string, valueField string, inputRows ...[]*NgingFileThumb) param.Store

func (*NgingFileThumb) AsMap

func (a *NgingFileThumb) AsMap() param.Store

func (*NgingFileThumb) AsRow

func (a *NgingFileThumb) AsRow() param.Store

func (*NgingFileThumb) BatchValidate

func (a *NgingFileThumb) BatchValidate(kvset map[string]interface{}) error

func (*NgingFileThumb) CPAFrom

func (a *NgingFileThumb) CPAFrom(source factory.Model) factory.Model

func (*NgingFileThumb) Context

func (a *NgingFileThumb) Context() echo.Context

func (*NgingFileThumb) Count

func (a *NgingFileThumb) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFileThumb) Delete

func (a *NgingFileThumb) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileThumb) Edit

func (a *NgingFileThumb) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileThumb) EventOFF

func (a *NgingFileThumb) EventOFF(off ...bool) factory.Model

func (*NgingFileThumb) EventON

func (a *NgingFileThumb) EventON(on ...bool) factory.Model

func (*NgingFileThumb) FromRow

func (a *NgingFileThumb) FromRow(row map[string]interface{})

func (*NgingFileThumb) Get

func (a *NgingFileThumb) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFileThumb) GroupBy

func (a *NgingFileThumb) GroupBy(keyField string, inputRows ...[]*NgingFileThumb) map[string][]*NgingFileThumb

func (*NgingFileThumb) InitObjects

func (a *NgingFileThumb) InitObjects() *[]*NgingFileThumb

func (*NgingFileThumb) KeyBy

func (a *NgingFileThumb) KeyBy(keyField string, inputRows ...[]*NgingFileThumb) map[string]*NgingFileThumb

func (*NgingFileThumb) List

func (a *NgingFileThumb) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFileThumb) ListByOffset

func (a *NgingFileThumb) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFileThumb) Name_

func (a *NgingFileThumb) Name_() string

func (*NgingFileThumb) Namer

func (a *NgingFileThumb) Namer() func(string) string

func (*NgingFileThumb) New

func (a *NgingFileThumb) New(structName string, connID ...int) factory.Model

func (*NgingFileThumb) NewObjects

func (a *NgingFileThumb) NewObjects() factory.Ranger

func (*NgingFileThumb) NewParam

func (a *NgingFileThumb) NewParam() *factory.Param

func (*NgingFileThumb) Objects

func (a *NgingFileThumb) Objects() []*NgingFileThumb

func (*NgingFileThumb) Param

func (a *NgingFileThumb) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFileThumb) Reset

func (a *NgingFileThumb) Reset() *NgingFileThumb

func (*NgingFileThumb) Set

func (a *NgingFileThumb) Set(key interface{}, value ...interface{})

func (*NgingFileThumb) SetConnID

func (a *NgingFileThumb) SetConnID(connID int) factory.Model

func (*NgingFileThumb) SetContext

func (a *NgingFileThumb) SetContext(ctx echo.Context) factory.Model

func (*NgingFileThumb) SetField

func (a *NgingFileThumb) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFileThumb) SetFields

func (a *NgingFileThumb) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFileThumb) SetNamer

func (a *NgingFileThumb) SetNamer(namer func(string) string) factory.Model

func (*NgingFileThumb) SetParam

func (a *NgingFileThumb) SetParam(param *factory.Param) factory.Model

func (*NgingFileThumb) Short_

func (a *NgingFileThumb) Short_() string

func (*NgingFileThumb) Struct_

func (a *NgingFileThumb) Struct_() string

func (*NgingFileThumb) Trans

func (a *NgingFileThumb) Trans() *factory.Transaction

func (*NgingFileThumb) Upsert

func (a *NgingFileThumb) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFileThumb) Use

func (*NgingFileThumb) Validate

func (a *NgingFileThumb) Validate(field string, value interface{}) error

func (*NgingFileThumb) XObjects

func (a *NgingFileThumb) XObjects() Slice_NgingFileThumb

type NgingForeverProcess

type NgingForeverProcess 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
}

NgingForeverProcess 持久进程

func (*NgingForeverProcess) Add

func (a *NgingForeverProcess) Add() (pk interface{}, err error)

func (*NgingForeverProcess) AsKV

func (a *NgingForeverProcess) AsKV(keyField string, valueField string, inputRows ...[]*NgingForeverProcess) param.Store

func (*NgingForeverProcess) AsMap

func (a *NgingForeverProcess) AsMap() param.Store

func (*NgingForeverProcess) AsRow

func (a *NgingForeverProcess) AsRow() param.Store

func (*NgingForeverProcess) BatchValidate

func (a *NgingForeverProcess) BatchValidate(kvset map[string]interface{}) error

func (*NgingForeverProcess) CPAFrom

func (a *NgingForeverProcess) CPAFrom(source factory.Model) factory.Model

func (*NgingForeverProcess) Context

func (a *NgingForeverProcess) Context() echo.Context

func (*NgingForeverProcess) Count

func (a *NgingForeverProcess) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingForeverProcess) Delete

func (a *NgingForeverProcess) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingForeverProcess) Edit

func (a *NgingForeverProcess) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingForeverProcess) EventOFF

func (a *NgingForeverProcess) EventOFF(off ...bool) factory.Model

func (*NgingForeverProcess) EventON

func (a *NgingForeverProcess) EventON(on ...bool) factory.Model

func (*NgingForeverProcess) FromRow

func (a *NgingForeverProcess) FromRow(row map[string]interface{})

func (*NgingForeverProcess) Get

func (a *NgingForeverProcess) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingForeverProcess) GroupBy

func (a *NgingForeverProcess) GroupBy(keyField string, inputRows ...[]*NgingForeverProcess) map[string][]*NgingForeverProcess

func (*NgingForeverProcess) InitObjects

func (a *NgingForeverProcess) InitObjects() *[]*NgingForeverProcess

func (*NgingForeverProcess) KeyBy

func (a *NgingForeverProcess) KeyBy(keyField string, inputRows ...[]*NgingForeverProcess) map[string]*NgingForeverProcess

func (*NgingForeverProcess) List

func (a *NgingForeverProcess) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingForeverProcess) ListByOffset

func (a *NgingForeverProcess) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingForeverProcess) Name_

func (a *NgingForeverProcess) Name_() string

func (*NgingForeverProcess) Namer

func (a *NgingForeverProcess) Namer() func(string) string

func (*NgingForeverProcess) New

func (a *NgingForeverProcess) New(structName string, connID ...int) factory.Model

func (*NgingForeverProcess) NewObjects

func (a *NgingForeverProcess) NewObjects() factory.Ranger

func (*NgingForeverProcess) NewParam

func (a *NgingForeverProcess) NewParam() *factory.Param

func (*NgingForeverProcess) Objects

func (a *NgingForeverProcess) Objects() []*NgingForeverProcess

func (*NgingForeverProcess) Param

func (a *NgingForeverProcess) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingForeverProcess) Reset

func (*NgingForeverProcess) Set

func (a *NgingForeverProcess) Set(key interface{}, value ...interface{})

func (*NgingForeverProcess) SetConnID

func (a *NgingForeverProcess) SetConnID(connID int) factory.Model

func (*NgingForeverProcess) SetContext

func (a *NgingForeverProcess) SetContext(ctx echo.Context) factory.Model

func (*NgingForeverProcess) SetField

func (a *NgingForeverProcess) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingForeverProcess) SetFields

func (a *NgingForeverProcess) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingForeverProcess) SetNamer

func (a *NgingForeverProcess) SetNamer(namer func(string) string) factory.Model

func (*NgingForeverProcess) SetParam

func (a *NgingForeverProcess) SetParam(param *factory.Param) factory.Model

func (*NgingForeverProcess) Short_

func (a *NgingForeverProcess) Short_() string

func (*NgingForeverProcess) Struct_

func (a *NgingForeverProcess) Struct_() string

func (*NgingForeverProcess) Trans

func (*NgingForeverProcess) Upsert

func (a *NgingForeverProcess) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingForeverProcess) Use

func (*NgingForeverProcess) Validate

func (a *NgingForeverProcess) Validate(field string, value interface{}) error

func (*NgingForeverProcess) XObjects

type NgingFrpClient

type NgingFrpClient 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
}

NgingFrpClient FRP客户端设置

func (*NgingFrpClient) Add

func (a *NgingFrpClient) Add() (pk interface{}, err error)

func (*NgingFrpClient) AsKV

func (a *NgingFrpClient) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpClient) param.Store

func (*NgingFrpClient) AsMap

func (a *NgingFrpClient) AsMap() param.Store

func (*NgingFrpClient) AsRow

func (a *NgingFrpClient) AsRow() param.Store

func (*NgingFrpClient) BatchValidate

func (a *NgingFrpClient) BatchValidate(kvset map[string]interface{}) error

func (*NgingFrpClient) CPAFrom

func (a *NgingFrpClient) CPAFrom(source factory.Model) factory.Model

func (*NgingFrpClient) Context

func (a *NgingFrpClient) Context() echo.Context

func (*NgingFrpClient) Count

func (a *NgingFrpClient) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFrpClient) Delete

func (a *NgingFrpClient) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpClient) Edit

func (a *NgingFrpClient) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpClient) EventOFF

func (a *NgingFrpClient) EventOFF(off ...bool) factory.Model

func (*NgingFrpClient) EventON

func (a *NgingFrpClient) EventON(on ...bool) factory.Model

func (*NgingFrpClient) FromRow

func (a *NgingFrpClient) FromRow(row map[string]interface{})

func (*NgingFrpClient) Get

func (a *NgingFrpClient) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpClient) GroupBy

func (a *NgingFrpClient) GroupBy(keyField string, inputRows ...[]*NgingFrpClient) map[string][]*NgingFrpClient

func (*NgingFrpClient) InitObjects

func (a *NgingFrpClient) InitObjects() *[]*NgingFrpClient

func (*NgingFrpClient) KeyBy

func (a *NgingFrpClient) KeyBy(keyField string, inputRows ...[]*NgingFrpClient) map[string]*NgingFrpClient

func (*NgingFrpClient) List

func (a *NgingFrpClient) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFrpClient) ListByOffset

func (a *NgingFrpClient) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFrpClient) Name_

func (a *NgingFrpClient) Name_() string

func (*NgingFrpClient) Namer

func (a *NgingFrpClient) Namer() func(string) string

func (*NgingFrpClient) New

func (a *NgingFrpClient) New(structName string, connID ...int) factory.Model

func (*NgingFrpClient) NewObjects

func (a *NgingFrpClient) NewObjects() factory.Ranger

func (*NgingFrpClient) NewParam

func (a *NgingFrpClient) NewParam() *factory.Param

func (*NgingFrpClient) Objects

func (a *NgingFrpClient) Objects() []*NgingFrpClient

func (*NgingFrpClient) Param

func (a *NgingFrpClient) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFrpClient) Reset

func (a *NgingFrpClient) Reset() *NgingFrpClient

func (*NgingFrpClient) Set

func (a *NgingFrpClient) Set(key interface{}, value ...interface{})

func (*NgingFrpClient) SetConnID

func (a *NgingFrpClient) SetConnID(connID int) factory.Model

func (*NgingFrpClient) SetContext

func (a *NgingFrpClient) SetContext(ctx echo.Context) factory.Model

func (*NgingFrpClient) SetField

func (a *NgingFrpClient) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFrpClient) SetFields

func (a *NgingFrpClient) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFrpClient) SetNamer

func (a *NgingFrpClient) SetNamer(namer func(string) string) factory.Model

func (*NgingFrpClient) SetParam

func (a *NgingFrpClient) SetParam(param *factory.Param) factory.Model

func (*NgingFrpClient) Short_

func (a *NgingFrpClient) Short_() string

func (*NgingFrpClient) Struct_

func (a *NgingFrpClient) Struct_() string

func (*NgingFrpClient) Trans

func (a *NgingFrpClient) Trans() *factory.Transaction

func (*NgingFrpClient) Upsert

func (a *NgingFrpClient) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFrpClient) Use

func (*NgingFrpClient) Validate

func (a *NgingFrpClient) Validate(field string, value interface{}) error

func (*NgingFrpClient) XObjects

func (a *NgingFrpClient) XObjects() Slice_NgingFrpClient

type NgingFrpGroup

type NgingFrpGroup 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
}

NgingFrpGroup FRP服务组

func (*NgingFrpGroup) Add

func (a *NgingFrpGroup) Add() (pk interface{}, err error)

func (*NgingFrpGroup) AsKV

func (a *NgingFrpGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpGroup) param.Store

func (*NgingFrpGroup) AsMap

func (a *NgingFrpGroup) AsMap() param.Store

func (*NgingFrpGroup) AsRow

func (a *NgingFrpGroup) AsRow() param.Store

func (*NgingFrpGroup) BatchValidate

func (a *NgingFrpGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingFrpGroup) CPAFrom

func (a *NgingFrpGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingFrpGroup) Context

func (a *NgingFrpGroup) Context() echo.Context

func (*NgingFrpGroup) Count

func (a *NgingFrpGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFrpGroup) Delete

func (a *NgingFrpGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpGroup) Edit

func (a *NgingFrpGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpGroup) EventOFF

func (a *NgingFrpGroup) EventOFF(off ...bool) factory.Model

func (*NgingFrpGroup) EventON

func (a *NgingFrpGroup) EventON(on ...bool) factory.Model

func (*NgingFrpGroup) FromRow

func (a *NgingFrpGroup) FromRow(row map[string]interface{})

func (*NgingFrpGroup) Get

func (a *NgingFrpGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpGroup) GroupBy

func (a *NgingFrpGroup) GroupBy(keyField string, inputRows ...[]*NgingFrpGroup) map[string][]*NgingFrpGroup

func (*NgingFrpGroup) InitObjects

func (a *NgingFrpGroup) InitObjects() *[]*NgingFrpGroup

func (*NgingFrpGroup) KeyBy

func (a *NgingFrpGroup) KeyBy(keyField string, inputRows ...[]*NgingFrpGroup) map[string]*NgingFrpGroup

func (*NgingFrpGroup) List

func (a *NgingFrpGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFrpGroup) ListByOffset

func (a *NgingFrpGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFrpGroup) Name_

func (a *NgingFrpGroup) Name_() string

func (*NgingFrpGroup) Namer

func (a *NgingFrpGroup) Namer() func(string) string

func (*NgingFrpGroup) New

func (a *NgingFrpGroup) New(structName string, connID ...int) factory.Model

func (*NgingFrpGroup) NewObjects

func (a *NgingFrpGroup) NewObjects() factory.Ranger

func (*NgingFrpGroup) NewParam

func (a *NgingFrpGroup) NewParam() *factory.Param

func (*NgingFrpGroup) Objects

func (a *NgingFrpGroup) Objects() []*NgingFrpGroup

func (*NgingFrpGroup) Param

func (a *NgingFrpGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFrpGroup) Reset

func (a *NgingFrpGroup) Reset() *NgingFrpGroup

func (*NgingFrpGroup) Set

func (a *NgingFrpGroup) Set(key interface{}, value ...interface{})

func (*NgingFrpGroup) SetConnID

func (a *NgingFrpGroup) SetConnID(connID int) factory.Model

func (*NgingFrpGroup) SetContext

func (a *NgingFrpGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingFrpGroup) SetField

func (a *NgingFrpGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFrpGroup) SetFields

func (a *NgingFrpGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFrpGroup) SetNamer

func (a *NgingFrpGroup) SetNamer(namer func(string) string) factory.Model

func (*NgingFrpGroup) SetParam

func (a *NgingFrpGroup) SetParam(param *factory.Param) factory.Model

func (*NgingFrpGroup) Short_

func (a *NgingFrpGroup) Short_() string

func (*NgingFrpGroup) Struct_

func (a *NgingFrpGroup) Struct_() string

func (*NgingFrpGroup) Trans

func (a *NgingFrpGroup) Trans() *factory.Transaction

func (*NgingFrpGroup) Upsert

func (a *NgingFrpGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFrpGroup) Use

func (*NgingFrpGroup) Validate

func (a *NgingFrpGroup) Validate(field string, value interface{}) error

func (*NgingFrpGroup) XObjects

func (a *NgingFrpGroup) XObjects() Slice_NgingFrpGroup

type NgingFrpServer

type NgingFrpServer 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
}

NgingFrpServer FRP服务器设置

func (*NgingFrpServer) Add

func (a *NgingFrpServer) Add() (pk interface{}, err error)

func (*NgingFrpServer) AsKV

func (a *NgingFrpServer) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpServer) param.Store

func (*NgingFrpServer) AsMap

func (a *NgingFrpServer) AsMap() param.Store

func (*NgingFrpServer) AsRow

func (a *NgingFrpServer) AsRow() param.Store

func (*NgingFrpServer) BatchValidate

func (a *NgingFrpServer) BatchValidate(kvset map[string]interface{}) error

func (*NgingFrpServer) CPAFrom

func (a *NgingFrpServer) CPAFrom(source factory.Model) factory.Model

func (*NgingFrpServer) Context

func (a *NgingFrpServer) Context() echo.Context

func (*NgingFrpServer) Count

func (a *NgingFrpServer) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFrpServer) Delete

func (a *NgingFrpServer) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpServer) Edit

func (a *NgingFrpServer) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpServer) EventOFF

func (a *NgingFrpServer) EventOFF(off ...bool) factory.Model

func (*NgingFrpServer) EventON

func (a *NgingFrpServer) EventON(on ...bool) factory.Model

func (*NgingFrpServer) FromRow

func (a *NgingFrpServer) FromRow(row map[string]interface{})

func (*NgingFrpServer) Get

func (a *NgingFrpServer) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFrpServer) GroupBy

func (a *NgingFrpServer) GroupBy(keyField string, inputRows ...[]*NgingFrpServer) map[string][]*NgingFrpServer

func (*NgingFrpServer) InitObjects

func (a *NgingFrpServer) InitObjects() *[]*NgingFrpServer

func (*NgingFrpServer) KeyBy

func (a *NgingFrpServer) KeyBy(keyField string, inputRows ...[]*NgingFrpServer) map[string]*NgingFrpServer

func (*NgingFrpServer) List

func (a *NgingFrpServer) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFrpServer) ListByOffset

func (a *NgingFrpServer) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFrpServer) Name_

func (a *NgingFrpServer) Name_() string

func (*NgingFrpServer) Namer

func (a *NgingFrpServer) Namer() func(string) string

func (*NgingFrpServer) New

func (a *NgingFrpServer) New(structName string, connID ...int) factory.Model

func (*NgingFrpServer) NewObjects

func (a *NgingFrpServer) NewObjects() factory.Ranger

func (*NgingFrpServer) NewParam

func (a *NgingFrpServer) NewParam() *factory.Param

func (*NgingFrpServer) Objects

func (a *NgingFrpServer) Objects() []*NgingFrpServer

func (*NgingFrpServer) Param

func (a *NgingFrpServer) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFrpServer) Reset

func (a *NgingFrpServer) Reset() *NgingFrpServer

func (*NgingFrpServer) Set

func (a *NgingFrpServer) Set(key interface{}, value ...interface{})

func (*NgingFrpServer) SetConnID

func (a *NgingFrpServer) SetConnID(connID int) factory.Model

func (*NgingFrpServer) SetContext

func (a *NgingFrpServer) SetContext(ctx echo.Context) factory.Model

func (*NgingFrpServer) SetField

func (a *NgingFrpServer) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFrpServer) SetFields

func (a *NgingFrpServer) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFrpServer) SetNamer

func (a *NgingFrpServer) SetNamer(namer func(string) string) factory.Model

func (*NgingFrpServer) SetParam

func (a *NgingFrpServer) SetParam(param *factory.Param) factory.Model

func (*NgingFrpServer) Short_

func (a *NgingFrpServer) Short_() string

func (*NgingFrpServer) Struct_

func (a *NgingFrpServer) Struct_() string

func (*NgingFrpServer) Trans

func (a *NgingFrpServer) Trans() *factory.Transaction

func (*NgingFrpServer) Upsert

func (a *NgingFrpServer) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFrpServer) Use

func (*NgingFrpServer) Validate

func (a *NgingFrpServer) Validate(field string, value interface{}) error

func (*NgingFrpServer) XObjects

func (a *NgingFrpServer) XObjects() Slice_NgingFrpServer

type NgingFtpUser

type NgingFtpUser 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
}

NgingFtpUser FTP用户

func (*NgingFtpUser) Add

func (a *NgingFtpUser) Add() (pk interface{}, err error)

func (*NgingFtpUser) AsKV

func (a *NgingFtpUser) AsKV(keyField string, valueField string, inputRows ...[]*NgingFtpUser) param.Store

func (*NgingFtpUser) AsMap

func (a *NgingFtpUser) AsMap() param.Store

func (*NgingFtpUser) AsRow

func (a *NgingFtpUser) AsRow() param.Store

func (*NgingFtpUser) BatchValidate

func (a *NgingFtpUser) BatchValidate(kvset map[string]interface{}) error

func (*NgingFtpUser) CPAFrom

func (a *NgingFtpUser) CPAFrom(source factory.Model) factory.Model

func (*NgingFtpUser) Context

func (a *NgingFtpUser) Context() echo.Context

func (*NgingFtpUser) Count

func (a *NgingFtpUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFtpUser) Delete

func (a *NgingFtpUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFtpUser) Edit

func (a *NgingFtpUser) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFtpUser) EventOFF

func (a *NgingFtpUser) EventOFF(off ...bool) factory.Model

func (*NgingFtpUser) EventON

func (a *NgingFtpUser) EventON(on ...bool) factory.Model

func (*NgingFtpUser) FromRow

func (a *NgingFtpUser) FromRow(row map[string]interface{})

func (*NgingFtpUser) Get

func (a *NgingFtpUser) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFtpUser) GroupBy

func (a *NgingFtpUser) GroupBy(keyField string, inputRows ...[]*NgingFtpUser) map[string][]*NgingFtpUser

func (*NgingFtpUser) InitObjects

func (a *NgingFtpUser) InitObjects() *[]*NgingFtpUser

func (*NgingFtpUser) KeyBy

func (a *NgingFtpUser) KeyBy(keyField string, inputRows ...[]*NgingFtpUser) map[string]*NgingFtpUser

func (*NgingFtpUser) List

func (a *NgingFtpUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFtpUser) ListByOffset

func (a *NgingFtpUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFtpUser) Name_

func (a *NgingFtpUser) Name_() string

func (*NgingFtpUser) Namer

func (a *NgingFtpUser) Namer() func(string) string

func (*NgingFtpUser) New

func (a *NgingFtpUser) New(structName string, connID ...int) factory.Model

func (*NgingFtpUser) NewObjects

func (a *NgingFtpUser) NewObjects() factory.Ranger

func (*NgingFtpUser) NewParam

func (a *NgingFtpUser) NewParam() *factory.Param

func (*NgingFtpUser) Objects

func (a *NgingFtpUser) Objects() []*NgingFtpUser

func (*NgingFtpUser) Param

func (a *NgingFtpUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFtpUser) Reset

func (a *NgingFtpUser) Reset() *NgingFtpUser

func (*NgingFtpUser) Set

func (a *NgingFtpUser) Set(key interface{}, value ...interface{})

func (*NgingFtpUser) SetConnID

func (a *NgingFtpUser) SetConnID(connID int) factory.Model

func (*NgingFtpUser) SetContext

func (a *NgingFtpUser) SetContext(ctx echo.Context) factory.Model

func (*NgingFtpUser) SetField

func (a *NgingFtpUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFtpUser) SetFields

func (a *NgingFtpUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFtpUser) SetNamer

func (a *NgingFtpUser) SetNamer(namer func(string) string) factory.Model

func (*NgingFtpUser) SetParam

func (a *NgingFtpUser) SetParam(param *factory.Param) factory.Model

func (*NgingFtpUser) Short_

func (a *NgingFtpUser) Short_() string

func (*NgingFtpUser) Struct_

func (a *NgingFtpUser) Struct_() string

func (*NgingFtpUser) Trans

func (a *NgingFtpUser) Trans() *factory.Transaction

func (*NgingFtpUser) Upsert

func (a *NgingFtpUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFtpUser) Use

func (a *NgingFtpUser) Use(trans *factory.Transaction) factory.Model

func (*NgingFtpUser) Validate

func (a *NgingFtpUser) Validate(field string, value interface{}) error

func (*NgingFtpUser) XObjects

func (a *NgingFtpUser) XObjects() Slice_NgingFtpUser

type NgingFtpUserGroup

type NgingFtpUserGroup 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
}

NgingFtpUserGroup FTP用户组

func (*NgingFtpUserGroup) Add

func (a *NgingFtpUserGroup) Add() (pk interface{}, err error)

func (*NgingFtpUserGroup) AsKV

func (a *NgingFtpUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingFtpUserGroup) param.Store

func (*NgingFtpUserGroup) AsMap

func (a *NgingFtpUserGroup) AsMap() param.Store

func (*NgingFtpUserGroup) AsRow

func (a *NgingFtpUserGroup) AsRow() param.Store

func (*NgingFtpUserGroup) BatchValidate

func (a *NgingFtpUserGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingFtpUserGroup) CPAFrom

func (a *NgingFtpUserGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingFtpUserGroup) Context

func (a *NgingFtpUserGroup) Context() echo.Context

func (*NgingFtpUserGroup) Count

func (a *NgingFtpUserGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingFtpUserGroup) Delete

func (a *NgingFtpUserGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFtpUserGroup) Edit

func (a *NgingFtpUserGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFtpUserGroup) EventOFF

func (a *NgingFtpUserGroup) EventOFF(off ...bool) factory.Model

func (*NgingFtpUserGroup) EventON

func (a *NgingFtpUserGroup) EventON(on ...bool) factory.Model

func (*NgingFtpUserGroup) FromRow

func (a *NgingFtpUserGroup) FromRow(row map[string]interface{})

func (*NgingFtpUserGroup) Get

func (a *NgingFtpUserGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingFtpUserGroup) GroupBy

func (a *NgingFtpUserGroup) GroupBy(keyField string, inputRows ...[]*NgingFtpUserGroup) map[string][]*NgingFtpUserGroup

func (*NgingFtpUserGroup) InitObjects

func (a *NgingFtpUserGroup) InitObjects() *[]*NgingFtpUserGroup

func (*NgingFtpUserGroup) KeyBy

func (a *NgingFtpUserGroup) KeyBy(keyField string, inputRows ...[]*NgingFtpUserGroup) map[string]*NgingFtpUserGroup

func (*NgingFtpUserGroup) List

func (a *NgingFtpUserGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingFtpUserGroup) ListByOffset

func (a *NgingFtpUserGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingFtpUserGroup) Name_

func (a *NgingFtpUserGroup) Name_() string

func (*NgingFtpUserGroup) Namer

func (a *NgingFtpUserGroup) Namer() func(string) string

func (*NgingFtpUserGroup) New

func (a *NgingFtpUserGroup) New(structName string, connID ...int) factory.Model

func (*NgingFtpUserGroup) NewObjects

func (a *NgingFtpUserGroup) NewObjects() factory.Ranger

func (*NgingFtpUserGroup) NewParam

func (a *NgingFtpUserGroup) NewParam() *factory.Param

func (*NgingFtpUserGroup) Objects

func (a *NgingFtpUserGroup) Objects() []*NgingFtpUserGroup

func (*NgingFtpUserGroup) Param

func (a *NgingFtpUserGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingFtpUserGroup) Reset

func (*NgingFtpUserGroup) Set

func (a *NgingFtpUserGroup) Set(key interface{}, value ...interface{})

func (*NgingFtpUserGroup) SetConnID

func (a *NgingFtpUserGroup) SetConnID(connID int) factory.Model

func (*NgingFtpUserGroup) SetContext

func (a *NgingFtpUserGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingFtpUserGroup) SetField

func (a *NgingFtpUserGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingFtpUserGroup) SetFields

func (a *NgingFtpUserGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingFtpUserGroup) SetNamer

func (a *NgingFtpUserGroup) SetNamer(namer func(string) string) factory.Model

func (*NgingFtpUserGroup) SetParam

func (a *NgingFtpUserGroup) SetParam(param *factory.Param) factory.Model

func (*NgingFtpUserGroup) Short_

func (a *NgingFtpUserGroup) Short_() string

func (*NgingFtpUserGroup) Struct_

func (a *NgingFtpUserGroup) Struct_() string

func (*NgingFtpUserGroup) Trans

func (*NgingFtpUserGroup) Upsert

func (a *NgingFtpUserGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingFtpUserGroup) Use

func (*NgingFtpUserGroup) Validate

func (a *NgingFtpUserGroup) Validate(field string, value interface{}) error

func (*NgingFtpUserGroup) XObjects

type NgingSendingLog

type NgingSendingLog 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
}

NgingSendingLog 邮件短信等发送日志

func (*NgingSendingLog) Add

func (a *NgingSendingLog) Add() (pk interface{}, err error)

func (*NgingSendingLog) AsKV

func (a *NgingSendingLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingSendingLog) param.Store

func (*NgingSendingLog) AsMap

func (a *NgingSendingLog) AsMap() param.Store

func (*NgingSendingLog) AsRow

func (a *NgingSendingLog) AsRow() param.Store

func (*NgingSendingLog) BatchValidate

func (a *NgingSendingLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingSendingLog) CPAFrom

func (a *NgingSendingLog) CPAFrom(source factory.Model) factory.Model

func (*NgingSendingLog) Context

func (a *NgingSendingLog) Context() echo.Context

func (*NgingSendingLog) Count

func (a *NgingSendingLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingSendingLog) Delete

func (a *NgingSendingLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSendingLog) Edit

func (a *NgingSendingLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSendingLog) EventOFF

func (a *NgingSendingLog) EventOFF(off ...bool) factory.Model

func (*NgingSendingLog) EventON

func (a *NgingSendingLog) EventON(on ...bool) factory.Model

func (*NgingSendingLog) FromRow

func (a *NgingSendingLog) FromRow(row map[string]interface{})

func (*NgingSendingLog) Get

func (a *NgingSendingLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSendingLog) GroupBy

func (a *NgingSendingLog) GroupBy(keyField string, inputRows ...[]*NgingSendingLog) map[string][]*NgingSendingLog

func (*NgingSendingLog) InitObjects

func (a *NgingSendingLog) InitObjects() *[]*NgingSendingLog

func (*NgingSendingLog) KeyBy

func (a *NgingSendingLog) KeyBy(keyField string, inputRows ...[]*NgingSendingLog) map[string]*NgingSendingLog

func (*NgingSendingLog) List

func (a *NgingSendingLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingSendingLog) ListByOffset

func (a *NgingSendingLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingSendingLog) Name_

func (a *NgingSendingLog) Name_() string

func (*NgingSendingLog) Namer

func (a *NgingSendingLog) Namer() func(string) string

func (*NgingSendingLog) New

func (a *NgingSendingLog) New(structName string, connID ...int) factory.Model

func (*NgingSendingLog) NewObjects

func (a *NgingSendingLog) NewObjects() factory.Ranger

func (*NgingSendingLog) NewParam

func (a *NgingSendingLog) NewParam() *factory.Param

func (*NgingSendingLog) Objects

func (a *NgingSendingLog) Objects() []*NgingSendingLog

func (*NgingSendingLog) Param

func (a *NgingSendingLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingSendingLog) Reset

func (a *NgingSendingLog) Reset() *NgingSendingLog

func (*NgingSendingLog) Set

func (a *NgingSendingLog) Set(key interface{}, value ...interface{})

func (*NgingSendingLog) SetConnID

func (a *NgingSendingLog) SetConnID(connID int) factory.Model

func (*NgingSendingLog) SetContext

func (a *NgingSendingLog) SetContext(ctx echo.Context) factory.Model

func (*NgingSendingLog) SetField

func (a *NgingSendingLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingSendingLog) SetFields

func (a *NgingSendingLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingSendingLog) SetNamer

func (a *NgingSendingLog) SetNamer(namer func(string) string) factory.Model

func (*NgingSendingLog) SetParam

func (a *NgingSendingLog) SetParam(param *factory.Param) factory.Model

func (*NgingSendingLog) Short_

func (a *NgingSendingLog) Short_() string

func (*NgingSendingLog) Struct_

func (a *NgingSendingLog) Struct_() string

func (*NgingSendingLog) Trans

func (a *NgingSendingLog) Trans() *factory.Transaction

func (*NgingSendingLog) Upsert

func (a *NgingSendingLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingSendingLog) Use

func (*NgingSendingLog) Validate

func (a *NgingSendingLog) Validate(field string, value interface{}) error

func (*NgingSendingLog) XObjects

func (a *NgingSendingLog) XObjects() Slice_NgingSendingLog

type NgingSshUser

type NgingSshUser 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
}

NgingSshUser 数据库账号

func (*NgingSshUser) Add

func (a *NgingSshUser) Add() (pk interface{}, err error)

func (*NgingSshUser) AsKV

func (a *NgingSshUser) AsKV(keyField string, valueField string, inputRows ...[]*NgingSshUser) param.Store

func (*NgingSshUser) AsMap

func (a *NgingSshUser) AsMap() param.Store

func (*NgingSshUser) AsRow

func (a *NgingSshUser) AsRow() param.Store

func (*NgingSshUser) BatchValidate

func (a *NgingSshUser) BatchValidate(kvset map[string]interface{}) error

func (*NgingSshUser) CPAFrom

func (a *NgingSshUser) CPAFrom(source factory.Model) factory.Model

func (*NgingSshUser) Context

func (a *NgingSshUser) Context() echo.Context

func (*NgingSshUser) Count

func (a *NgingSshUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingSshUser) Delete

func (a *NgingSshUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSshUser) Edit

func (a *NgingSshUser) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSshUser) EventOFF

func (a *NgingSshUser) EventOFF(off ...bool) factory.Model

func (*NgingSshUser) EventON

func (a *NgingSshUser) EventON(on ...bool) factory.Model

func (*NgingSshUser) FromRow

func (a *NgingSshUser) FromRow(row map[string]interface{})

func (*NgingSshUser) Get

func (a *NgingSshUser) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSshUser) GroupBy

func (a *NgingSshUser) GroupBy(keyField string, inputRows ...[]*NgingSshUser) map[string][]*NgingSshUser

func (*NgingSshUser) InitObjects

func (a *NgingSshUser) InitObjects() *[]*NgingSshUser

func (*NgingSshUser) KeyBy

func (a *NgingSshUser) KeyBy(keyField string, inputRows ...[]*NgingSshUser) map[string]*NgingSshUser

func (*NgingSshUser) List

func (a *NgingSshUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingSshUser) ListByOffset

func (a *NgingSshUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingSshUser) Name_

func (a *NgingSshUser) Name_() string

func (*NgingSshUser) Namer

func (a *NgingSshUser) Namer() func(string) string

func (*NgingSshUser) New

func (a *NgingSshUser) New(structName string, connID ...int) factory.Model

func (*NgingSshUser) NewObjects

func (a *NgingSshUser) NewObjects() factory.Ranger

func (*NgingSshUser) NewParam

func (a *NgingSshUser) NewParam() *factory.Param

func (*NgingSshUser) Objects

func (a *NgingSshUser) Objects() []*NgingSshUser

func (*NgingSshUser) Param

func (a *NgingSshUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingSshUser) Reset

func (a *NgingSshUser) Reset() *NgingSshUser

func (*NgingSshUser) Set

func (a *NgingSshUser) Set(key interface{}, value ...interface{})

func (*NgingSshUser) SetConnID

func (a *NgingSshUser) SetConnID(connID int) factory.Model

func (*NgingSshUser) SetContext

func (a *NgingSshUser) SetContext(ctx echo.Context) factory.Model

func (*NgingSshUser) SetField

func (a *NgingSshUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingSshUser) SetFields

func (a *NgingSshUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingSshUser) SetNamer

func (a *NgingSshUser) SetNamer(namer func(string) string) factory.Model

func (*NgingSshUser) SetParam

func (a *NgingSshUser) SetParam(param *factory.Param) factory.Model

func (*NgingSshUser) Short_

func (a *NgingSshUser) Short_() string

func (*NgingSshUser) Struct_

func (a *NgingSshUser) Struct_() string

func (*NgingSshUser) Trans

func (a *NgingSshUser) Trans() *factory.Transaction

func (*NgingSshUser) Upsert

func (a *NgingSshUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingSshUser) Use

func (a *NgingSshUser) Use(trans *factory.Transaction) factory.Model

func (*NgingSshUser) Validate

func (a *NgingSshUser) Validate(field string, value interface{}) error

func (*NgingSshUser) XObjects

func (a *NgingSshUser) XObjects() Slice_NgingSshUser

type NgingSshUserGroup

type NgingSshUserGroup 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
}

NgingSshUserGroup SSH账号组

func (*NgingSshUserGroup) Add

func (a *NgingSshUserGroup) Add() (pk interface{}, err error)

func (*NgingSshUserGroup) AsKV

func (a *NgingSshUserGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingSshUserGroup) param.Store

func (*NgingSshUserGroup) AsMap

func (a *NgingSshUserGroup) AsMap() param.Store

func (*NgingSshUserGroup) AsRow

func (a *NgingSshUserGroup) AsRow() param.Store

func (*NgingSshUserGroup) BatchValidate

func (a *NgingSshUserGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingSshUserGroup) CPAFrom

func (a *NgingSshUserGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingSshUserGroup) Context

func (a *NgingSshUserGroup) Context() echo.Context

func (*NgingSshUserGroup) Count

func (a *NgingSshUserGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingSshUserGroup) Delete

func (a *NgingSshUserGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSshUserGroup) Edit

func (a *NgingSshUserGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSshUserGroup) EventOFF

func (a *NgingSshUserGroup) EventOFF(off ...bool) factory.Model

func (*NgingSshUserGroup) EventON

func (a *NgingSshUserGroup) EventON(on ...bool) factory.Model

func (*NgingSshUserGroup) FromRow

func (a *NgingSshUserGroup) FromRow(row map[string]interface{})

func (*NgingSshUserGroup) Get

func (a *NgingSshUserGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingSshUserGroup) GroupBy

func (a *NgingSshUserGroup) GroupBy(keyField string, inputRows ...[]*NgingSshUserGroup) map[string][]*NgingSshUserGroup

func (*NgingSshUserGroup) InitObjects

func (a *NgingSshUserGroup) InitObjects() *[]*NgingSshUserGroup

func (*NgingSshUserGroup) KeyBy

func (a *NgingSshUserGroup) KeyBy(keyField string, inputRows ...[]*NgingSshUserGroup) map[string]*NgingSshUserGroup

func (*NgingSshUserGroup) List

func (a *NgingSshUserGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingSshUserGroup) ListByOffset

func (a *NgingSshUserGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingSshUserGroup) Name_

func (a *NgingSshUserGroup) Name_() string

func (*NgingSshUserGroup) Namer

func (a *NgingSshUserGroup) Namer() func(string) string

func (*NgingSshUserGroup) New

func (a *NgingSshUserGroup) New(structName string, connID ...int) factory.Model

func (*NgingSshUserGroup) NewObjects

func (a *NgingSshUserGroup) NewObjects() factory.Ranger

func (*NgingSshUserGroup) NewParam

func (a *NgingSshUserGroup) NewParam() *factory.Param

func (*NgingSshUserGroup) Objects

func (a *NgingSshUserGroup) Objects() []*NgingSshUserGroup

func (*NgingSshUserGroup) Param

func (a *NgingSshUserGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingSshUserGroup) Reset

func (*NgingSshUserGroup) Set

func (a *NgingSshUserGroup) Set(key interface{}, value ...interface{})

func (*NgingSshUserGroup) SetConnID

func (a *NgingSshUserGroup) SetConnID(connID int) factory.Model

func (*NgingSshUserGroup) SetContext

func (a *NgingSshUserGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingSshUserGroup) SetField

func (a *NgingSshUserGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingSshUserGroup) SetFields

func (a *NgingSshUserGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingSshUserGroup) SetNamer

func (a *NgingSshUserGroup) SetNamer(namer func(string) string) factory.Model

func (*NgingSshUserGroup) SetParam

func (a *NgingSshUserGroup) SetParam(param *factory.Param) factory.Model

func (*NgingSshUserGroup) Short_

func (a *NgingSshUserGroup) Short_() string

func (*NgingSshUserGroup) Struct_

func (a *NgingSshUserGroup) Struct_() string

func (*NgingSshUserGroup) Trans

func (*NgingSshUserGroup) Upsert

func (a *NgingSshUserGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingSshUserGroup) Use

func (*NgingSshUserGroup) Validate

func (a *NgingSshUserGroup) Validate(field string, value interface{}) error

func (*NgingSshUserGroup) XObjects

type NgingTask

type NgingTask 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
}

NgingTask 任务

func (*NgingTask) Add

func (a *NgingTask) Add() (pk interface{}, err error)

func (*NgingTask) AsKV

func (a *NgingTask) AsKV(keyField string, valueField string, inputRows ...[]*NgingTask) param.Store

func (*NgingTask) AsMap

func (a *NgingTask) AsMap() param.Store

func (*NgingTask) AsRow

func (a *NgingTask) AsRow() param.Store

func (*NgingTask) BatchValidate

func (a *NgingTask) BatchValidate(kvset map[string]interface{}) error

func (*NgingTask) CPAFrom

func (a *NgingTask) CPAFrom(source factory.Model) factory.Model

func (*NgingTask) Context

func (a *NgingTask) Context() echo.Context

func (*NgingTask) Count

func (a *NgingTask) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingTask) Delete

func (a *NgingTask) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTask) Edit

func (a *NgingTask) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTask) EventOFF

func (a *NgingTask) EventOFF(off ...bool) factory.Model

func (*NgingTask) EventON

func (a *NgingTask) EventON(on ...bool) factory.Model

func (*NgingTask) FromRow

func (a *NgingTask) FromRow(row map[string]interface{})

func (*NgingTask) Get

func (a *NgingTask) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTask) GroupBy

func (a *NgingTask) GroupBy(keyField string, inputRows ...[]*NgingTask) map[string][]*NgingTask

func (*NgingTask) InitObjects

func (a *NgingTask) InitObjects() *[]*NgingTask

func (*NgingTask) KeyBy

func (a *NgingTask) KeyBy(keyField string, inputRows ...[]*NgingTask) map[string]*NgingTask

func (*NgingTask) List

func (a *NgingTask) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingTask) ListByOffset

func (a *NgingTask) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingTask) Name_

func (a *NgingTask) Name_() string

func (*NgingTask) Namer

func (a *NgingTask) Namer() func(string) string

func (*NgingTask) New

func (a *NgingTask) New(structName string, connID ...int) factory.Model

func (*NgingTask) NewObjects

func (a *NgingTask) NewObjects() factory.Ranger

func (*NgingTask) NewParam

func (a *NgingTask) NewParam() *factory.Param

func (*NgingTask) Objects

func (a *NgingTask) Objects() []*NgingTask

func (*NgingTask) Param

func (a *NgingTask) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingTask) Reset

func (a *NgingTask) Reset() *NgingTask

func (*NgingTask) Set

func (a *NgingTask) Set(key interface{}, value ...interface{})

func (*NgingTask) SetConnID

func (a *NgingTask) SetConnID(connID int) factory.Model

func (*NgingTask) SetContext

func (a *NgingTask) SetContext(ctx echo.Context) factory.Model

func (*NgingTask) SetField

func (a *NgingTask) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingTask) SetFields

func (a *NgingTask) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingTask) SetNamer

func (a *NgingTask) SetNamer(namer func(string) string) factory.Model

func (*NgingTask) SetParam

func (a *NgingTask) SetParam(param *factory.Param) factory.Model

func (*NgingTask) Short_

func (a *NgingTask) Short_() string

func (*NgingTask) Struct_

func (a *NgingTask) Struct_() string

func (*NgingTask) Trans

func (a *NgingTask) Trans() *factory.Transaction

func (*NgingTask) Upsert

func (a *NgingTask) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingTask) Use

func (a *NgingTask) Use(trans *factory.Transaction) factory.Model

func (*NgingTask) Validate

func (a *NgingTask) Validate(field string, value interface{}) error

func (*NgingTask) XObjects

func (a *NgingTask) XObjects() Slice_NgingTask

type NgingTaskGroup

type NgingTaskGroup 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
}

NgingTaskGroup 任务组

func (*NgingTaskGroup) Add

func (a *NgingTaskGroup) Add() (pk interface{}, err error)

func (*NgingTaskGroup) AsKV

func (a *NgingTaskGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingTaskGroup) param.Store

func (*NgingTaskGroup) AsMap

func (a *NgingTaskGroup) AsMap() param.Store

func (*NgingTaskGroup) AsRow

func (a *NgingTaskGroup) AsRow() param.Store

func (*NgingTaskGroup) BatchValidate

func (a *NgingTaskGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingTaskGroup) CPAFrom

func (a *NgingTaskGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingTaskGroup) Context

func (a *NgingTaskGroup) Context() echo.Context

func (*NgingTaskGroup) Count

func (a *NgingTaskGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingTaskGroup) Delete

func (a *NgingTaskGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskGroup) Edit

func (a *NgingTaskGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskGroup) EventOFF

func (a *NgingTaskGroup) EventOFF(off ...bool) factory.Model

func (*NgingTaskGroup) EventON

func (a *NgingTaskGroup) EventON(on ...bool) factory.Model

func (*NgingTaskGroup) FromRow

func (a *NgingTaskGroup) FromRow(row map[string]interface{})

func (*NgingTaskGroup) Get

func (a *NgingTaskGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskGroup) GroupBy

func (a *NgingTaskGroup) GroupBy(keyField string, inputRows ...[]*NgingTaskGroup) map[string][]*NgingTaskGroup

func (*NgingTaskGroup) InitObjects

func (a *NgingTaskGroup) InitObjects() *[]*NgingTaskGroup

func (*NgingTaskGroup) KeyBy

func (a *NgingTaskGroup) KeyBy(keyField string, inputRows ...[]*NgingTaskGroup) map[string]*NgingTaskGroup

func (*NgingTaskGroup) List

func (a *NgingTaskGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskGroup) ListByOffset

func (a *NgingTaskGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskGroup) Name_

func (a *NgingTaskGroup) Name_() string

func (*NgingTaskGroup) Namer

func (a *NgingTaskGroup) Namer() func(string) string

func (*NgingTaskGroup) New

func (a *NgingTaskGroup) New(structName string, connID ...int) factory.Model

func (*NgingTaskGroup) NewObjects

func (a *NgingTaskGroup) NewObjects() factory.Ranger

func (*NgingTaskGroup) NewParam

func (a *NgingTaskGroup) NewParam() *factory.Param

func (*NgingTaskGroup) Objects

func (a *NgingTaskGroup) Objects() []*NgingTaskGroup

func (*NgingTaskGroup) Param

func (a *NgingTaskGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingTaskGroup) Reset

func (a *NgingTaskGroup) Reset() *NgingTaskGroup

func (*NgingTaskGroup) Set

func (a *NgingTaskGroup) Set(key interface{}, value ...interface{})

func (*NgingTaskGroup) SetConnID

func (a *NgingTaskGroup) SetConnID(connID int) factory.Model

func (*NgingTaskGroup) SetContext

func (a *NgingTaskGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingTaskGroup) SetField

func (a *NgingTaskGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingTaskGroup) SetFields

func (a *NgingTaskGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingTaskGroup) SetNamer

func (a *NgingTaskGroup) SetNamer(namer func(string) string) factory.Model

func (*NgingTaskGroup) SetParam

func (a *NgingTaskGroup) SetParam(param *factory.Param) factory.Model

func (*NgingTaskGroup) Short_

func (a *NgingTaskGroup) Short_() string

func (*NgingTaskGroup) Struct_

func (a *NgingTaskGroup) Struct_() string

func (*NgingTaskGroup) Trans

func (a *NgingTaskGroup) Trans() *factory.Transaction

func (*NgingTaskGroup) Upsert

func (a *NgingTaskGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingTaskGroup) Use

func (*NgingTaskGroup) Validate

func (a *NgingTaskGroup) Validate(field string, value interface{}) error

func (*NgingTaskGroup) XObjects

func (a *NgingTaskGroup) XObjects() Slice_NgingTaskGroup

type NgingTaskLog

type NgingTaskLog 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
}

NgingTaskLog 任务日志

func (*NgingTaskLog) Add

func (a *NgingTaskLog) Add() (pk interface{}, err error)

func (*NgingTaskLog) AsKV

func (a *NgingTaskLog) AsKV(keyField string, valueField string, inputRows ...[]*NgingTaskLog) param.Store

func (*NgingTaskLog) AsMap

func (a *NgingTaskLog) AsMap() param.Store

func (*NgingTaskLog) AsRow

func (a *NgingTaskLog) AsRow() param.Store

func (*NgingTaskLog) BatchValidate

func (a *NgingTaskLog) BatchValidate(kvset map[string]interface{}) error

func (*NgingTaskLog) CPAFrom

func (a *NgingTaskLog) CPAFrom(source factory.Model) factory.Model

func (*NgingTaskLog) Context

func (a *NgingTaskLog) Context() echo.Context

func (*NgingTaskLog) Count

func (a *NgingTaskLog) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingTaskLog) Delete

func (a *NgingTaskLog) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskLog) Edit

func (a *NgingTaskLog) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskLog) EventOFF

func (a *NgingTaskLog) EventOFF(off ...bool) factory.Model

func (*NgingTaskLog) EventON

func (a *NgingTaskLog) EventON(on ...bool) factory.Model

func (*NgingTaskLog) FromRow

func (a *NgingTaskLog) FromRow(row map[string]interface{})

func (*NgingTaskLog) Get

func (a *NgingTaskLog) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingTaskLog) GroupBy

func (a *NgingTaskLog) GroupBy(keyField string, inputRows ...[]*NgingTaskLog) map[string][]*NgingTaskLog

func (*NgingTaskLog) InitObjects

func (a *NgingTaskLog) InitObjects() *[]*NgingTaskLog

func (*NgingTaskLog) KeyBy

func (a *NgingTaskLog) KeyBy(keyField string, inputRows ...[]*NgingTaskLog) map[string]*NgingTaskLog

func (*NgingTaskLog) List

func (a *NgingTaskLog) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskLog) ListByOffset

func (a *NgingTaskLog) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingTaskLog) Name_

func (a *NgingTaskLog) Name_() string

func (*NgingTaskLog) Namer

func (a *NgingTaskLog) Namer() func(string) string

func (*NgingTaskLog) New

func (a *NgingTaskLog) New(structName string, connID ...int) factory.Model

func (*NgingTaskLog) NewObjects

func (a *NgingTaskLog) NewObjects() factory.Ranger

func (*NgingTaskLog) NewParam

func (a *NgingTaskLog) NewParam() *factory.Param

func (*NgingTaskLog) Objects

func (a *NgingTaskLog) Objects() []*NgingTaskLog

func (*NgingTaskLog) Param

func (a *NgingTaskLog) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingTaskLog) Reset

func (a *NgingTaskLog) Reset() *NgingTaskLog

func (*NgingTaskLog) Set

func (a *NgingTaskLog) Set(key interface{}, value ...interface{})

func (*NgingTaskLog) SetConnID

func (a *NgingTaskLog) SetConnID(connID int) factory.Model

func (*NgingTaskLog) SetContext

func (a *NgingTaskLog) SetContext(ctx echo.Context) factory.Model

func (*NgingTaskLog) SetField

func (a *NgingTaskLog) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingTaskLog) SetFields

func (a *NgingTaskLog) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingTaskLog) SetNamer

func (a *NgingTaskLog) SetNamer(namer func(string) string) factory.Model

func (*NgingTaskLog) SetParam

func (a *NgingTaskLog) SetParam(param *factory.Param) factory.Model

func (*NgingTaskLog) Short_

func (a *NgingTaskLog) Short_() string

func (*NgingTaskLog) Struct_

func (a *NgingTaskLog) Struct_() string

func (*NgingTaskLog) Trans

func (a *NgingTaskLog) Trans() *factory.Transaction

func (*NgingTaskLog) Upsert

func (a *NgingTaskLog) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingTaskLog) Use

func (a *NgingTaskLog) Use(trans *factory.Transaction) factory.Model

func (*NgingTaskLog) Validate

func (a *NgingTaskLog) Validate(field string, value interface{}) error

func (*NgingTaskLog) XObjects

func (a *NgingTaskLog) XObjects() Slice_NgingTaskLog

type NgingUser

type NgingUser 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
}

NgingUser 用户

func (*NgingUser) Add

func (a *NgingUser) Add() (pk interface{}, err error)

func (*NgingUser) AsKV

func (a *NgingUser) AsKV(keyField string, valueField string, inputRows ...[]*NgingUser) param.Store

func (*NgingUser) AsMap

func (a *NgingUser) AsMap() param.Store

func (*NgingUser) AsRow

func (a *NgingUser) AsRow() param.Store

func (*NgingUser) BatchValidate

func (a *NgingUser) BatchValidate(kvset map[string]interface{}) error

func (*NgingUser) CPAFrom

func (a *NgingUser) CPAFrom(source factory.Model) factory.Model

func (*NgingUser) Context

func (a *NgingUser) Context() echo.Context

func (*NgingUser) Count

func (a *NgingUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUser) Delete

func (a *NgingUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUser) Edit

func (a *NgingUser) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUser) EventOFF

func (a *NgingUser) EventOFF(off ...bool) factory.Model

func (*NgingUser) EventON

func (a *NgingUser) EventON(on ...bool) factory.Model

func (*NgingUser) FromRow

func (a *NgingUser) FromRow(row map[string]interface{})

func (*NgingUser) Get

func (a *NgingUser) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUser) GroupBy

func (a *NgingUser) GroupBy(keyField string, inputRows ...[]*NgingUser) map[string][]*NgingUser

func (*NgingUser) InitObjects

func (a *NgingUser) InitObjects() *[]*NgingUser

func (*NgingUser) KeyBy

func (a *NgingUser) KeyBy(keyField string, inputRows ...[]*NgingUser) map[string]*NgingUser

func (*NgingUser) List

func (a *NgingUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUser) ListByOffset

func (a *NgingUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUser) Name_

func (a *NgingUser) Name_() string

func (*NgingUser) Namer

func (a *NgingUser) Namer() func(string) string

func (*NgingUser) New

func (a *NgingUser) New(structName string, connID ...int) factory.Model

func (*NgingUser) NewObjects

func (a *NgingUser) NewObjects() factory.Ranger

func (*NgingUser) NewParam

func (a *NgingUser) NewParam() *factory.Param

func (*NgingUser) Objects

func (a *NgingUser) Objects() []*NgingUser

func (*NgingUser) Param

func (a *NgingUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUser) Reset

func (a *NgingUser) Reset() *NgingUser

func (*NgingUser) Set

func (a *NgingUser) Set(key interface{}, value ...interface{})

func (*NgingUser) SetConnID

func (a *NgingUser) SetConnID(connID int) factory.Model

func (*NgingUser) SetContext

func (a *NgingUser) SetContext(ctx echo.Context) factory.Model

func (*NgingUser) SetField

func (a *NgingUser) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUser) SetFields

func (a *NgingUser) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUser) SetNamer

func (a *NgingUser) SetNamer(namer func(string) string) factory.Model

func (*NgingUser) SetParam

func (a *NgingUser) SetParam(param *factory.Param) factory.Model

func (*NgingUser) Short_

func (a *NgingUser) Short_() string

func (*NgingUser) Struct_

func (a *NgingUser) Struct_() string

func (*NgingUser) Trans

func (a *NgingUser) Trans() *factory.Transaction

func (*NgingUser) Upsert

func (a *NgingUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUser) Use

func (a *NgingUser) Use(trans *factory.Transaction) factory.Model

func (*NgingUser) Validate

func (a *NgingUser) Validate(field string, value interface{}) error

func (*NgingUser) XObjects

func (a *NgingUser) XObjects() Slice_NgingUser

type NgingUserRole

type NgingUserRole 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
}

NgingUserRole 用户角色

func (*NgingUserRole) Add

func (a *NgingUserRole) Add() (pk interface{}, err error)

func (*NgingUserRole) AsKV

func (a *NgingUserRole) AsKV(keyField string, valueField string, inputRows ...[]*NgingUserRole) param.Store

func (*NgingUserRole) AsMap

func (a *NgingUserRole) AsMap() param.Store

func (*NgingUserRole) AsRow

func (a *NgingUserRole) AsRow() param.Store

func (*NgingUserRole) BatchValidate

func (a *NgingUserRole) BatchValidate(kvset map[string]interface{}) error

func (*NgingUserRole) CPAFrom

func (a *NgingUserRole) CPAFrom(source factory.Model) factory.Model

func (*NgingUserRole) Context

func (a *NgingUserRole) Context() echo.Context

func (*NgingUserRole) Count

func (a *NgingUserRole) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUserRole) Delete

func (a *NgingUserRole) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRole) Edit

func (a *NgingUserRole) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRole) EventOFF

func (a *NgingUserRole) EventOFF(off ...bool) factory.Model

func (*NgingUserRole) EventON

func (a *NgingUserRole) EventON(on ...bool) factory.Model

func (*NgingUserRole) FromRow

func (a *NgingUserRole) FromRow(row map[string]interface{})

func (*NgingUserRole) Get

func (a *NgingUserRole) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserRole) GroupBy

func (a *NgingUserRole) GroupBy(keyField string, inputRows ...[]*NgingUserRole) map[string][]*NgingUserRole

func (*NgingUserRole) InitObjects

func (a *NgingUserRole) InitObjects() *[]*NgingUserRole

func (*NgingUserRole) KeyBy

func (a *NgingUserRole) KeyBy(keyField string, inputRows ...[]*NgingUserRole) map[string]*NgingUserRole

func (*NgingUserRole) List

func (a *NgingUserRole) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUserRole) ListByOffset

func (a *NgingUserRole) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUserRole) Name_

func (a *NgingUserRole) Name_() string

func (*NgingUserRole) Namer

func (a *NgingUserRole) Namer() func(string) string

func (*NgingUserRole) New

func (a *NgingUserRole) New(structName string, connID ...int) factory.Model

func (*NgingUserRole) NewObjects

func (a *NgingUserRole) NewObjects() factory.Ranger

func (*NgingUserRole) NewParam

func (a *NgingUserRole) NewParam() *factory.Param

func (*NgingUserRole) Objects

func (a *NgingUserRole) Objects() []*NgingUserRole

func (*NgingUserRole) Param

func (a *NgingUserRole) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUserRole) Reset

func (a *NgingUserRole) Reset() *NgingUserRole

func (*NgingUserRole) Set

func (a *NgingUserRole) Set(key interface{}, value ...interface{})

func (*NgingUserRole) SetConnID

func (a *NgingUserRole) SetConnID(connID int) factory.Model

func (*NgingUserRole) SetContext

func (a *NgingUserRole) SetContext(ctx echo.Context) factory.Model

func (*NgingUserRole) SetField

func (a *NgingUserRole) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUserRole) SetFields

func (a *NgingUserRole) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUserRole) SetNamer

func (a *NgingUserRole) SetNamer(namer func(string) string) factory.Model

func (*NgingUserRole) SetParam

func (a *NgingUserRole) SetParam(param *factory.Param) factory.Model

func (*NgingUserRole) Short_

func (a *NgingUserRole) Short_() string

func (*NgingUserRole) Struct_

func (a *NgingUserRole) Struct_() string

func (*NgingUserRole) Trans

func (a *NgingUserRole) Trans() *factory.Transaction

func (*NgingUserRole) Upsert

func (a *NgingUserRole) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUserRole) Use

func (*NgingUserRole) Validate

func (a *NgingUserRole) Validate(field string, value interface{}) error

func (*NgingUserRole) XObjects

func (a *NgingUserRole) XObjects() Slice_NgingUserRole

type NgingUserU2f

type NgingUserU2f 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
}

NgingUserU2f 两步验证

func (*NgingUserU2f) Add

func (a *NgingUserU2f) Add() (pk interface{}, err error)

func (*NgingUserU2f) AsKV

func (a *NgingUserU2f) AsKV(keyField string, valueField string, inputRows ...[]*NgingUserU2f) param.Store

func (*NgingUserU2f) AsMap

func (a *NgingUserU2f) AsMap() param.Store

func (*NgingUserU2f) AsRow

func (a *NgingUserU2f) AsRow() param.Store

func (*NgingUserU2f) BatchValidate

func (a *NgingUserU2f) BatchValidate(kvset map[string]interface{}) error

func (*NgingUserU2f) CPAFrom

func (a *NgingUserU2f) CPAFrom(source factory.Model) factory.Model

func (*NgingUserU2f) Context

func (a *NgingUserU2f) Context() echo.Context

func (*NgingUserU2f) Count

func (a *NgingUserU2f) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingUserU2f) Delete

func (a *NgingUserU2f) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserU2f) Edit

func (a *NgingUserU2f) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserU2f) EventOFF

func (a *NgingUserU2f) EventOFF(off ...bool) factory.Model

func (*NgingUserU2f) EventON

func (a *NgingUserU2f) EventON(on ...bool) factory.Model

func (*NgingUserU2f) FromRow

func (a *NgingUserU2f) FromRow(row map[string]interface{})

func (*NgingUserU2f) Get

func (a *NgingUserU2f) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingUserU2f) GroupBy

func (a *NgingUserU2f) GroupBy(keyField string, inputRows ...[]*NgingUserU2f) map[string][]*NgingUserU2f

func (*NgingUserU2f) InitObjects

func (a *NgingUserU2f) InitObjects() *[]*NgingUserU2f

func (*NgingUserU2f) KeyBy

func (a *NgingUserU2f) KeyBy(keyField string, inputRows ...[]*NgingUserU2f) map[string]*NgingUserU2f

func (*NgingUserU2f) List

func (a *NgingUserU2f) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingUserU2f) ListByOffset

func (a *NgingUserU2f) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingUserU2f) Name_

func (a *NgingUserU2f) Name_() string

func (*NgingUserU2f) Namer

func (a *NgingUserU2f) Namer() func(string) string

func (*NgingUserU2f) New

func (a *NgingUserU2f) New(structName string, connID ...int) factory.Model

func (*NgingUserU2f) NewObjects

func (a *NgingUserU2f) NewObjects() factory.Ranger

func (*NgingUserU2f) NewParam

func (a *NgingUserU2f) NewParam() *factory.Param

func (*NgingUserU2f) Objects

func (a *NgingUserU2f) Objects() []*NgingUserU2f

func (*NgingUserU2f) Param

func (a *NgingUserU2f) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingUserU2f) Reset

func (a *NgingUserU2f) Reset() *NgingUserU2f

func (*NgingUserU2f) Set

func (a *NgingUserU2f) Set(key interface{}, value ...interface{})

func (*NgingUserU2f) SetConnID

func (a *NgingUserU2f) SetConnID(connID int) factory.Model

func (*NgingUserU2f) SetContext

func (a *NgingUserU2f) SetContext(ctx echo.Context) factory.Model

func (*NgingUserU2f) SetField

func (a *NgingUserU2f) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingUserU2f) SetFields

func (a *NgingUserU2f) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingUserU2f) SetNamer

func (a *NgingUserU2f) SetNamer(namer func(string) string) factory.Model

func (*NgingUserU2f) SetParam

func (a *NgingUserU2f) SetParam(param *factory.Param) factory.Model

func (*NgingUserU2f) Short_

func (a *NgingUserU2f) Short_() string

func (*NgingUserU2f) Struct_

func (a *NgingUserU2f) Struct_() string

func (*NgingUserU2f) Trans

func (a *NgingUserU2f) Trans() *factory.Transaction

func (*NgingUserU2f) Upsert

func (a *NgingUserU2f) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingUserU2f) Use

func (a *NgingUserU2f) Use(trans *factory.Transaction) factory.Model

func (*NgingUserU2f) Validate

func (a *NgingUserU2f) Validate(field string, value interface{}) error

func (*NgingUserU2f) XObjects

func (a *NgingUserU2f) XObjects() Slice_NgingUserU2f

type NgingVhost

type NgingVhost 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
}

NgingVhost 虚拟主机

func (*NgingVhost) Add

func (a *NgingVhost) Add() (pk interface{}, err error)

func (*NgingVhost) AsKV

func (a *NgingVhost) AsKV(keyField string, valueField string, inputRows ...[]*NgingVhost) param.Store

func (*NgingVhost) AsMap

func (a *NgingVhost) AsMap() param.Store

func (*NgingVhost) AsRow

func (a *NgingVhost) AsRow() param.Store

func (*NgingVhost) BatchValidate

func (a *NgingVhost) BatchValidate(kvset map[string]interface{}) error

func (*NgingVhost) CPAFrom

func (a *NgingVhost) CPAFrom(source factory.Model) factory.Model

func (*NgingVhost) Context

func (a *NgingVhost) Context() echo.Context

func (*NgingVhost) Count

func (a *NgingVhost) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingVhost) Delete

func (a *NgingVhost) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingVhost) Edit

func (a *NgingVhost) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingVhost) EventOFF

func (a *NgingVhost) EventOFF(off ...bool) factory.Model

func (*NgingVhost) EventON

func (a *NgingVhost) EventON(on ...bool) factory.Model

func (*NgingVhost) FromRow

func (a *NgingVhost) FromRow(row map[string]interface{})

func (*NgingVhost) Get

func (a *NgingVhost) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingVhost) GroupBy

func (a *NgingVhost) GroupBy(keyField string, inputRows ...[]*NgingVhost) map[string][]*NgingVhost

func (*NgingVhost) InitObjects

func (a *NgingVhost) InitObjects() *[]*NgingVhost

func (*NgingVhost) KeyBy

func (a *NgingVhost) KeyBy(keyField string, inputRows ...[]*NgingVhost) map[string]*NgingVhost

func (*NgingVhost) List

func (a *NgingVhost) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingVhost) ListByOffset

func (a *NgingVhost) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingVhost) Name_

func (a *NgingVhost) Name_() string

func (*NgingVhost) Namer

func (a *NgingVhost) Namer() func(string) string

func (*NgingVhost) New

func (a *NgingVhost) New(structName string, connID ...int) factory.Model

func (*NgingVhost) NewObjects

func (a *NgingVhost) NewObjects() factory.Ranger

func (*NgingVhost) NewParam

func (a *NgingVhost) NewParam() *factory.Param

func (*NgingVhost) Objects

func (a *NgingVhost) Objects() []*NgingVhost

func (*NgingVhost) Param

func (a *NgingVhost) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingVhost) Reset

func (a *NgingVhost) Reset() *NgingVhost

func (*NgingVhost) Set

func (a *NgingVhost) Set(key interface{}, value ...interface{})

func (*NgingVhost) SetConnID

func (a *NgingVhost) SetConnID(connID int) factory.Model

func (*NgingVhost) SetContext

func (a *NgingVhost) SetContext(ctx echo.Context) factory.Model

func (*NgingVhost) SetField

func (a *NgingVhost) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingVhost) SetFields

func (a *NgingVhost) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingVhost) SetNamer

func (a *NgingVhost) SetNamer(namer func(string) string) factory.Model

func (*NgingVhost) SetParam

func (a *NgingVhost) SetParam(param *factory.Param) factory.Model

func (*NgingVhost) Short_

func (a *NgingVhost) Short_() string

func (*NgingVhost) Struct_

func (a *NgingVhost) Struct_() string

func (*NgingVhost) Trans

func (a *NgingVhost) Trans() *factory.Transaction

func (*NgingVhost) Upsert

func (a *NgingVhost) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingVhost) Use

func (a *NgingVhost) Use(trans *factory.Transaction) factory.Model

func (*NgingVhost) Validate

func (a *NgingVhost) Validate(field string, value interface{}) error

func (*NgingVhost) XObjects

func (a *NgingVhost) XObjects() Slice_NgingVhost

type NgingVhostGroup

type NgingVhostGroup 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
}

NgingVhostGroup 虚拟主机组

func (*NgingVhostGroup) Add

func (a *NgingVhostGroup) Add() (pk interface{}, err error)

func (*NgingVhostGroup) AsKV

func (a *NgingVhostGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingVhostGroup) param.Store

func (*NgingVhostGroup) AsMap

func (a *NgingVhostGroup) AsMap() param.Store

func (*NgingVhostGroup) AsRow

func (a *NgingVhostGroup) AsRow() param.Store

func (*NgingVhostGroup) BatchValidate

func (a *NgingVhostGroup) BatchValidate(kvset map[string]interface{}) error

func (*NgingVhostGroup) CPAFrom

func (a *NgingVhostGroup) CPAFrom(source factory.Model) factory.Model

func (*NgingVhostGroup) Context

func (a *NgingVhostGroup) Context() echo.Context

func (*NgingVhostGroup) Count

func (a *NgingVhostGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)

func (*NgingVhostGroup) Delete

func (a *NgingVhostGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingVhostGroup) Edit

func (a *NgingVhostGroup) Edit(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingVhostGroup) EventOFF

func (a *NgingVhostGroup) EventOFF(off ...bool) factory.Model

func (*NgingVhostGroup) EventON

func (a *NgingVhostGroup) EventON(on ...bool) factory.Model

func (*NgingVhostGroup) FromRow

func (a *NgingVhostGroup) FromRow(row map[string]interface{})

func (*NgingVhostGroup) Get

func (a *NgingVhostGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)

func (*NgingVhostGroup) GroupBy

func (a *NgingVhostGroup) GroupBy(keyField string, inputRows ...[]*NgingVhostGroup) map[string][]*NgingVhostGroup

func (*NgingVhostGroup) InitObjects

func (a *NgingVhostGroup) InitObjects() *[]*NgingVhostGroup

func (*NgingVhostGroup) KeyBy

func (a *NgingVhostGroup) KeyBy(keyField string, inputRows ...[]*NgingVhostGroup) map[string]*NgingVhostGroup

func (*NgingVhostGroup) List

func (a *NgingVhostGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, args ...interface{}) (func() int64, error)

func (*NgingVhostGroup) ListByOffset

func (a *NgingVhostGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, args ...interface{}) (func() int64, error)

func (*NgingVhostGroup) Name_

func (a *NgingVhostGroup) Name_() string

func (*NgingVhostGroup) Namer

func (a *NgingVhostGroup) Namer() func(string) string

func (*NgingVhostGroup) New

func (a *NgingVhostGroup) New(structName string, connID ...int) factory.Model

func (*NgingVhostGroup) NewObjects

func (a *NgingVhostGroup) NewObjects() factory.Ranger

func (*NgingVhostGroup) NewParam

func (a *NgingVhostGroup) NewParam() *factory.Param

func (*NgingVhostGroup) Objects

func (a *NgingVhostGroup) Objects() []*NgingVhostGroup

func (*NgingVhostGroup) Param

func (a *NgingVhostGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param

func (*NgingVhostGroup) Reset

func (a *NgingVhostGroup) Reset() *NgingVhostGroup

func (*NgingVhostGroup) Set

func (a *NgingVhostGroup) Set(key interface{}, value ...interface{})

func (*NgingVhostGroup) SetConnID

func (a *NgingVhostGroup) SetConnID(connID int) factory.Model

func (*NgingVhostGroup) SetContext

func (a *NgingVhostGroup) SetContext(ctx echo.Context) factory.Model

func (*NgingVhostGroup) SetField

func (a *NgingVhostGroup) SetField(mw func(db.Result) db.Result, field string, value interface{}, args ...interface{}) (err error)

func (*NgingVhostGroup) SetFields

func (a *NgingVhostGroup) SetFields(mw func(db.Result) db.Result, kvset map[string]interface{}, args ...interface{}) (err error)

func (*NgingVhostGroup) SetNamer

func (a *NgingVhostGroup) SetNamer(namer func(string) string) factory.Model

func (*NgingVhostGroup) SetParam

func (a *NgingVhostGroup) SetParam(param *factory.Param) factory.Model

func (*NgingVhostGroup) Short_

func (a *NgingVhostGroup) Short_() string

func (*NgingVhostGroup) Struct_

func (a *NgingVhostGroup) Struct_() string

func (*NgingVhostGroup) Trans

func (a *NgingVhostGroup) Trans() *factory.Transaction

func (*NgingVhostGroup) Upsert

func (a *NgingVhostGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)

func (*NgingVhostGroup) Use

func (*NgingVhostGroup) Validate

func (a *NgingVhostGroup) Validate(field string, value interface{}) error

func (*NgingVhostGroup) XObjects

func (a *NgingVhostGroup) XObjects() Slice_NgingVhostGroup

type Slice_NgingAccessLog

type Slice_NgingAccessLog []*NgingAccessLog

func (Slice_NgingAccessLog) AsKV

func (s Slice_NgingAccessLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingAccessLog) FromList

func (s Slice_NgingAccessLog) FromList(data interface{}) Slice_NgingAccessLog

func (Slice_NgingAccessLog) GroupBy

func (s Slice_NgingAccessLog) GroupBy(keyField string) map[string][]*NgingAccessLog

func (Slice_NgingAccessLog) KeyBy

func (s Slice_NgingAccessLog) KeyBy(keyField string) map[string]*NgingAccessLog

func (Slice_NgingAccessLog) Range

func (s Slice_NgingAccessLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingAccessLog) RangeRaw

func (s Slice_NgingAccessLog) RangeRaw(fn func(m *NgingAccessLog) error) error

func (Slice_NgingAccessLog) Transform

func (s Slice_NgingAccessLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingAlertRecipient

type Slice_NgingAlertRecipient []*NgingAlertRecipient

func (Slice_NgingAlertRecipient) AsKV

func (s Slice_NgingAlertRecipient) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingAlertRecipient) FromList

func (s Slice_NgingAlertRecipient) FromList(data interface{}) Slice_NgingAlertRecipient

func (Slice_NgingAlertRecipient) GroupBy

func (s Slice_NgingAlertRecipient) GroupBy(keyField string) map[string][]*NgingAlertRecipient

func (Slice_NgingAlertRecipient) KeyBy

func (Slice_NgingAlertRecipient) Range

func (s Slice_NgingAlertRecipient) Range(fn func(m factory.Model) error) error

func (Slice_NgingAlertRecipient) RangeRaw

func (s Slice_NgingAlertRecipient) RangeRaw(fn func(m *NgingAlertRecipient) error) error

func (Slice_NgingAlertRecipient) Transform

func (s Slice_NgingAlertRecipient) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCloudStorage

type Slice_NgingCloudStorage []*NgingCloudStorage

func (Slice_NgingCloudStorage) AsKV

func (s Slice_NgingCloudStorage) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCloudStorage) FromList

func (s Slice_NgingCloudStorage) FromList(data interface{}) Slice_NgingCloudStorage

func (Slice_NgingCloudStorage) GroupBy

func (s Slice_NgingCloudStorage) GroupBy(keyField string) map[string][]*NgingCloudStorage

func (Slice_NgingCloudStorage) KeyBy

func (s Slice_NgingCloudStorage) KeyBy(keyField string) map[string]*NgingCloudStorage

func (Slice_NgingCloudStorage) Range

func (s Slice_NgingCloudStorage) Range(fn func(m factory.Model) error) error

func (Slice_NgingCloudStorage) RangeRaw

func (s Slice_NgingCloudStorage) RangeRaw(fn func(m *NgingCloudStorage) error) error

func (Slice_NgingCloudStorage) Transform

func (s Slice_NgingCloudStorage) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCodeInvitation

type Slice_NgingCodeInvitation []*NgingCodeInvitation

func (Slice_NgingCodeInvitation) AsKV

func (s Slice_NgingCodeInvitation) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCodeInvitation) FromList

func (s Slice_NgingCodeInvitation) FromList(data interface{}) Slice_NgingCodeInvitation

func (Slice_NgingCodeInvitation) GroupBy

func (s Slice_NgingCodeInvitation) GroupBy(keyField string) map[string][]*NgingCodeInvitation

func (Slice_NgingCodeInvitation) KeyBy

func (Slice_NgingCodeInvitation) Range

func (s Slice_NgingCodeInvitation) Range(fn func(m factory.Model) error) error

func (Slice_NgingCodeInvitation) RangeRaw

func (s Slice_NgingCodeInvitation) RangeRaw(fn func(m *NgingCodeInvitation) error) error

func (Slice_NgingCodeInvitation) Transform

func (s Slice_NgingCodeInvitation) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCodeVerification

type Slice_NgingCodeVerification []*NgingCodeVerification

func (Slice_NgingCodeVerification) AsKV

func (s Slice_NgingCodeVerification) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCodeVerification) FromList

func (s Slice_NgingCodeVerification) FromList(data interface{}) Slice_NgingCodeVerification

func (Slice_NgingCodeVerification) GroupBy

func (Slice_NgingCodeVerification) KeyBy

func (Slice_NgingCodeVerification) Range

func (s Slice_NgingCodeVerification) Range(fn func(m factory.Model) error) error

func (Slice_NgingCodeVerification) RangeRaw

func (Slice_NgingCodeVerification) Transform

func (s Slice_NgingCodeVerification) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCollectorExport

type Slice_NgingCollectorExport []*NgingCollectorExport

func (Slice_NgingCollectorExport) AsKV

func (s Slice_NgingCollectorExport) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCollectorExport) FromList

func (s Slice_NgingCollectorExport) FromList(data interface{}) Slice_NgingCollectorExport

func (Slice_NgingCollectorExport) GroupBy

func (s Slice_NgingCollectorExport) GroupBy(keyField string) map[string][]*NgingCollectorExport

func (Slice_NgingCollectorExport) KeyBy

func (Slice_NgingCollectorExport) Range

func (s Slice_NgingCollectorExport) Range(fn func(m factory.Model) error) error

func (Slice_NgingCollectorExport) RangeRaw

func (Slice_NgingCollectorExport) Transform

func (s Slice_NgingCollectorExport) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCollectorExportLog

type Slice_NgingCollectorExportLog []*NgingCollectorExportLog

func (Slice_NgingCollectorExportLog) AsKV

func (s Slice_NgingCollectorExportLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCollectorExportLog) FromList

func (s Slice_NgingCollectorExportLog) FromList(data interface{}) Slice_NgingCollectorExportLog

func (Slice_NgingCollectorExportLog) GroupBy

func (Slice_NgingCollectorExportLog) KeyBy

func (Slice_NgingCollectorExportLog) Range

func (Slice_NgingCollectorExportLog) RangeRaw

func (Slice_NgingCollectorExportLog) Transform

func (s Slice_NgingCollectorExportLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCollectorGroup

type Slice_NgingCollectorGroup []*NgingCollectorGroup

func (Slice_NgingCollectorGroup) AsKV

func (s Slice_NgingCollectorGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCollectorGroup) FromList

func (s Slice_NgingCollectorGroup) FromList(data interface{}) Slice_NgingCollectorGroup

func (Slice_NgingCollectorGroup) GroupBy

func (s Slice_NgingCollectorGroup) GroupBy(keyField string) map[string][]*NgingCollectorGroup

func (Slice_NgingCollectorGroup) KeyBy

func (Slice_NgingCollectorGroup) Range

func (s Slice_NgingCollectorGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingCollectorGroup) RangeRaw

func (s Slice_NgingCollectorGroup) RangeRaw(fn func(m *NgingCollectorGroup) error) error

func (Slice_NgingCollectorGroup) Transform

func (s Slice_NgingCollectorGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCollectorHistory

type Slice_NgingCollectorHistory []*NgingCollectorHistory

func (Slice_NgingCollectorHistory) AsKV

func (s Slice_NgingCollectorHistory) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCollectorHistory) FromList

func (s Slice_NgingCollectorHistory) FromList(data interface{}) Slice_NgingCollectorHistory

func (Slice_NgingCollectorHistory) GroupBy

func (Slice_NgingCollectorHistory) KeyBy

func (Slice_NgingCollectorHistory) Range

func (s Slice_NgingCollectorHistory) Range(fn func(m factory.Model) error) error

func (Slice_NgingCollectorHistory) RangeRaw

func (Slice_NgingCollectorHistory) Transform

func (s Slice_NgingCollectorHistory) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCollectorPage

type Slice_NgingCollectorPage []*NgingCollectorPage

func (Slice_NgingCollectorPage) AsKV

func (s Slice_NgingCollectorPage) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCollectorPage) FromList

func (s Slice_NgingCollectorPage) FromList(data interface{}) Slice_NgingCollectorPage

func (Slice_NgingCollectorPage) GroupBy

func (s Slice_NgingCollectorPage) GroupBy(keyField string) map[string][]*NgingCollectorPage

func (Slice_NgingCollectorPage) KeyBy

func (Slice_NgingCollectorPage) Range

func (s Slice_NgingCollectorPage) Range(fn func(m factory.Model) error) error

func (Slice_NgingCollectorPage) RangeRaw

func (s Slice_NgingCollectorPage) RangeRaw(fn func(m *NgingCollectorPage) error) error

func (Slice_NgingCollectorPage) Transform

func (s Slice_NgingCollectorPage) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCollectorRule

type Slice_NgingCollectorRule []*NgingCollectorRule

func (Slice_NgingCollectorRule) AsKV

func (s Slice_NgingCollectorRule) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCollectorRule) FromList

func (s Slice_NgingCollectorRule) FromList(data interface{}) Slice_NgingCollectorRule

func (Slice_NgingCollectorRule) GroupBy

func (s Slice_NgingCollectorRule) GroupBy(keyField string) map[string][]*NgingCollectorRule

func (Slice_NgingCollectorRule) KeyBy

func (Slice_NgingCollectorRule) Range

func (s Slice_NgingCollectorRule) Range(fn func(m factory.Model) error) error

func (Slice_NgingCollectorRule) RangeRaw

func (s Slice_NgingCollectorRule) RangeRaw(fn func(m *NgingCollectorRule) error) error

func (Slice_NgingCollectorRule) Transform

func (s Slice_NgingCollectorRule) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingCommand

type Slice_NgingCommand []*NgingCommand

func (Slice_NgingCommand) AsKV

func (s Slice_NgingCommand) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingCommand) FromList

func (s Slice_NgingCommand) FromList(data interface{}) Slice_NgingCommand

func (Slice_NgingCommand) GroupBy

func (s Slice_NgingCommand) GroupBy(keyField string) map[string][]*NgingCommand

func (Slice_NgingCommand) KeyBy

func (s Slice_NgingCommand) KeyBy(keyField string) map[string]*NgingCommand

func (Slice_NgingCommand) Range

func (s Slice_NgingCommand) Range(fn func(m factory.Model) error) error

func (Slice_NgingCommand) RangeRaw

func (s Slice_NgingCommand) RangeRaw(fn func(m *NgingCommand) error) error

func (Slice_NgingCommand) Transform

func (s Slice_NgingCommand) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingConfig

type Slice_NgingConfig []*NgingConfig

func (Slice_NgingConfig) AsKV

func (s Slice_NgingConfig) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingConfig) FromList

func (s Slice_NgingConfig) FromList(data interface{}) Slice_NgingConfig

func (Slice_NgingConfig) GroupBy

func (s Slice_NgingConfig) GroupBy(keyField string) map[string][]*NgingConfig

func (Slice_NgingConfig) KeyBy

func (s Slice_NgingConfig) KeyBy(keyField string) map[string]*NgingConfig

func (Slice_NgingConfig) Range

func (s Slice_NgingConfig) Range(fn func(m factory.Model) error) error

func (Slice_NgingConfig) RangeRaw

func (s Slice_NgingConfig) RangeRaw(fn func(m *NgingConfig) error) error

func (Slice_NgingConfig) Transform

func (s Slice_NgingConfig) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingDbAccount

type Slice_NgingDbAccount []*NgingDbAccount

func (Slice_NgingDbAccount) AsKV

func (s Slice_NgingDbAccount) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingDbAccount) FromList

func (s Slice_NgingDbAccount) FromList(data interface{}) Slice_NgingDbAccount

func (Slice_NgingDbAccount) GroupBy

func (s Slice_NgingDbAccount) GroupBy(keyField string) map[string][]*NgingDbAccount

func (Slice_NgingDbAccount) KeyBy

func (s Slice_NgingDbAccount) KeyBy(keyField string) map[string]*NgingDbAccount

func (Slice_NgingDbAccount) Range

func (s Slice_NgingDbAccount) Range(fn func(m factory.Model) error) error

func (Slice_NgingDbAccount) RangeRaw

func (s Slice_NgingDbAccount) RangeRaw(fn func(m *NgingDbAccount) error) error

func (Slice_NgingDbAccount) Transform

func (s Slice_NgingDbAccount) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingDbSync

type Slice_NgingDbSync []*NgingDbSync

func (Slice_NgingDbSync) AsKV

func (s Slice_NgingDbSync) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingDbSync) FromList

func (s Slice_NgingDbSync) FromList(data interface{}) Slice_NgingDbSync

func (Slice_NgingDbSync) GroupBy

func (s Slice_NgingDbSync) GroupBy(keyField string) map[string][]*NgingDbSync

func (Slice_NgingDbSync) KeyBy

func (s Slice_NgingDbSync) KeyBy(keyField string) map[string]*NgingDbSync

func (Slice_NgingDbSync) Range

func (s Slice_NgingDbSync) Range(fn func(m factory.Model) error) error

func (Slice_NgingDbSync) RangeRaw

func (s Slice_NgingDbSync) RangeRaw(fn func(m *NgingDbSync) error) error

func (Slice_NgingDbSync) Transform

func (s Slice_NgingDbSync) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingDbSyncLog

type Slice_NgingDbSyncLog []*NgingDbSyncLog

func (Slice_NgingDbSyncLog) AsKV

func (s Slice_NgingDbSyncLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingDbSyncLog) FromList

func (s Slice_NgingDbSyncLog) FromList(data interface{}) Slice_NgingDbSyncLog

func (Slice_NgingDbSyncLog) GroupBy

func (s Slice_NgingDbSyncLog) GroupBy(keyField string) map[string][]*NgingDbSyncLog

func (Slice_NgingDbSyncLog) KeyBy

func (s Slice_NgingDbSyncLog) KeyBy(keyField string) map[string]*NgingDbSyncLog

func (Slice_NgingDbSyncLog) Range

func (s Slice_NgingDbSyncLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingDbSyncLog) RangeRaw

func (s Slice_NgingDbSyncLog) RangeRaw(fn func(m *NgingDbSyncLog) error) error

func (Slice_NgingDbSyncLog) Transform

func (s Slice_NgingDbSyncLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFile

type Slice_NgingFile []*NgingFile

func (Slice_NgingFile) AsKV

func (s Slice_NgingFile) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFile) FromList

func (s Slice_NgingFile) FromList(data interface{}) Slice_NgingFile

func (Slice_NgingFile) GroupBy

func (s Slice_NgingFile) GroupBy(keyField string) map[string][]*NgingFile

func (Slice_NgingFile) KeyBy

func (s Slice_NgingFile) KeyBy(keyField string) map[string]*NgingFile

func (Slice_NgingFile) Range

func (s Slice_NgingFile) Range(fn func(m factory.Model) error) error

func (Slice_NgingFile) RangeRaw

func (s Slice_NgingFile) RangeRaw(fn func(m *NgingFile) error) error

func (Slice_NgingFile) Transform

func (s Slice_NgingFile) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFileEmbedded

type Slice_NgingFileEmbedded []*NgingFileEmbedded

func (Slice_NgingFileEmbedded) AsKV

func (s Slice_NgingFileEmbedded) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFileEmbedded) FromList

func (s Slice_NgingFileEmbedded) FromList(data interface{}) Slice_NgingFileEmbedded

func (Slice_NgingFileEmbedded) GroupBy

func (s Slice_NgingFileEmbedded) GroupBy(keyField string) map[string][]*NgingFileEmbedded

func (Slice_NgingFileEmbedded) KeyBy

func (s Slice_NgingFileEmbedded) KeyBy(keyField string) map[string]*NgingFileEmbedded

func (Slice_NgingFileEmbedded) Range

func (s Slice_NgingFileEmbedded) Range(fn func(m factory.Model) error) error

func (Slice_NgingFileEmbedded) RangeRaw

func (s Slice_NgingFileEmbedded) RangeRaw(fn func(m *NgingFileEmbedded) error) error

func (Slice_NgingFileEmbedded) Transform

func (s Slice_NgingFileEmbedded) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFileThumb

type Slice_NgingFileThumb []*NgingFileThumb

func (Slice_NgingFileThumb) AsKV

func (s Slice_NgingFileThumb) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFileThumb) FromList

func (s Slice_NgingFileThumb) FromList(data interface{}) Slice_NgingFileThumb

func (Slice_NgingFileThumb) GroupBy

func (s Slice_NgingFileThumb) GroupBy(keyField string) map[string][]*NgingFileThumb

func (Slice_NgingFileThumb) KeyBy

func (s Slice_NgingFileThumb) KeyBy(keyField string) map[string]*NgingFileThumb

func (Slice_NgingFileThumb) Range

func (s Slice_NgingFileThumb) Range(fn func(m factory.Model) error) error

func (Slice_NgingFileThumb) RangeRaw

func (s Slice_NgingFileThumb) RangeRaw(fn func(m *NgingFileThumb) error) error

func (Slice_NgingFileThumb) Transform

func (s Slice_NgingFileThumb) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingForeverProcess

type Slice_NgingForeverProcess []*NgingForeverProcess

func (Slice_NgingForeverProcess) AsKV

func (s Slice_NgingForeverProcess) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingForeverProcess) FromList

func (s Slice_NgingForeverProcess) FromList(data interface{}) Slice_NgingForeverProcess

func (Slice_NgingForeverProcess) GroupBy

func (s Slice_NgingForeverProcess) GroupBy(keyField string) map[string][]*NgingForeverProcess

func (Slice_NgingForeverProcess) KeyBy

func (Slice_NgingForeverProcess) Range

func (s Slice_NgingForeverProcess) Range(fn func(m factory.Model) error) error

func (Slice_NgingForeverProcess) RangeRaw

func (s Slice_NgingForeverProcess) RangeRaw(fn func(m *NgingForeverProcess) error) error

func (Slice_NgingForeverProcess) Transform

func (s Slice_NgingForeverProcess) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFrpClient

type Slice_NgingFrpClient []*NgingFrpClient

func (Slice_NgingFrpClient) AsKV

func (s Slice_NgingFrpClient) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFrpClient) FromList

func (s Slice_NgingFrpClient) FromList(data interface{}) Slice_NgingFrpClient

func (Slice_NgingFrpClient) GroupBy

func (s Slice_NgingFrpClient) GroupBy(keyField string) map[string][]*NgingFrpClient

func (Slice_NgingFrpClient) KeyBy

func (s Slice_NgingFrpClient) KeyBy(keyField string) map[string]*NgingFrpClient

func (Slice_NgingFrpClient) Range

func (s Slice_NgingFrpClient) Range(fn func(m factory.Model) error) error

func (Slice_NgingFrpClient) RangeRaw

func (s Slice_NgingFrpClient) RangeRaw(fn func(m *NgingFrpClient) error) error

func (Slice_NgingFrpClient) Transform

func (s Slice_NgingFrpClient) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFrpGroup

type Slice_NgingFrpGroup []*NgingFrpGroup

func (Slice_NgingFrpGroup) AsKV

func (s Slice_NgingFrpGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFrpGroup) FromList

func (s Slice_NgingFrpGroup) FromList(data interface{}) Slice_NgingFrpGroup

func (Slice_NgingFrpGroup) GroupBy

func (s Slice_NgingFrpGroup) GroupBy(keyField string) map[string][]*NgingFrpGroup

func (Slice_NgingFrpGroup) KeyBy

func (s Slice_NgingFrpGroup) KeyBy(keyField string) map[string]*NgingFrpGroup

func (Slice_NgingFrpGroup) Range

func (s Slice_NgingFrpGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingFrpGroup) RangeRaw

func (s Slice_NgingFrpGroup) RangeRaw(fn func(m *NgingFrpGroup) error) error

func (Slice_NgingFrpGroup) Transform

func (s Slice_NgingFrpGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFrpServer

type Slice_NgingFrpServer []*NgingFrpServer

func (Slice_NgingFrpServer) AsKV

func (s Slice_NgingFrpServer) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFrpServer) FromList

func (s Slice_NgingFrpServer) FromList(data interface{}) Slice_NgingFrpServer

func (Slice_NgingFrpServer) GroupBy

func (s Slice_NgingFrpServer) GroupBy(keyField string) map[string][]*NgingFrpServer

func (Slice_NgingFrpServer) KeyBy

func (s Slice_NgingFrpServer) KeyBy(keyField string) map[string]*NgingFrpServer

func (Slice_NgingFrpServer) Range

func (s Slice_NgingFrpServer) Range(fn func(m factory.Model) error) error

func (Slice_NgingFrpServer) RangeRaw

func (s Slice_NgingFrpServer) RangeRaw(fn func(m *NgingFrpServer) error) error

func (Slice_NgingFrpServer) Transform

func (s Slice_NgingFrpServer) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFtpUser

type Slice_NgingFtpUser []*NgingFtpUser

func (Slice_NgingFtpUser) AsKV

func (s Slice_NgingFtpUser) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFtpUser) FromList

func (s Slice_NgingFtpUser) FromList(data interface{}) Slice_NgingFtpUser

func (Slice_NgingFtpUser) GroupBy

func (s Slice_NgingFtpUser) GroupBy(keyField string) map[string][]*NgingFtpUser

func (Slice_NgingFtpUser) KeyBy

func (s Slice_NgingFtpUser) KeyBy(keyField string) map[string]*NgingFtpUser

func (Slice_NgingFtpUser) Range

func (s Slice_NgingFtpUser) Range(fn func(m factory.Model) error) error

func (Slice_NgingFtpUser) RangeRaw

func (s Slice_NgingFtpUser) RangeRaw(fn func(m *NgingFtpUser) error) error

func (Slice_NgingFtpUser) Transform

func (s Slice_NgingFtpUser) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingFtpUserGroup

type Slice_NgingFtpUserGroup []*NgingFtpUserGroup

func (Slice_NgingFtpUserGroup) AsKV

func (s Slice_NgingFtpUserGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingFtpUserGroup) FromList

func (s Slice_NgingFtpUserGroup) FromList(data interface{}) Slice_NgingFtpUserGroup

func (Slice_NgingFtpUserGroup) GroupBy

func (s Slice_NgingFtpUserGroup) GroupBy(keyField string) map[string][]*NgingFtpUserGroup

func (Slice_NgingFtpUserGroup) KeyBy

func (s Slice_NgingFtpUserGroup) KeyBy(keyField string) map[string]*NgingFtpUserGroup

func (Slice_NgingFtpUserGroup) Range

func (s Slice_NgingFtpUserGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingFtpUserGroup) RangeRaw

func (s Slice_NgingFtpUserGroup) RangeRaw(fn func(m *NgingFtpUserGroup) error) error

func (Slice_NgingFtpUserGroup) Transform

func (s Slice_NgingFtpUserGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingSendingLog

type Slice_NgingSendingLog []*NgingSendingLog

func (Slice_NgingSendingLog) AsKV

func (s Slice_NgingSendingLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingSendingLog) FromList

func (s Slice_NgingSendingLog) FromList(data interface{}) Slice_NgingSendingLog

func (Slice_NgingSendingLog) GroupBy

func (s Slice_NgingSendingLog) GroupBy(keyField string) map[string][]*NgingSendingLog

func (Slice_NgingSendingLog) KeyBy

func (s Slice_NgingSendingLog) KeyBy(keyField string) map[string]*NgingSendingLog

func (Slice_NgingSendingLog) Range

func (s Slice_NgingSendingLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingSendingLog) RangeRaw

func (s Slice_NgingSendingLog) RangeRaw(fn func(m *NgingSendingLog) error) error

func (Slice_NgingSendingLog) Transform

func (s Slice_NgingSendingLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingSshUser

type Slice_NgingSshUser []*NgingSshUser

func (Slice_NgingSshUser) AsKV

func (s Slice_NgingSshUser) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingSshUser) FromList

func (s Slice_NgingSshUser) FromList(data interface{}) Slice_NgingSshUser

func (Slice_NgingSshUser) GroupBy

func (s Slice_NgingSshUser) GroupBy(keyField string) map[string][]*NgingSshUser

func (Slice_NgingSshUser) KeyBy

func (s Slice_NgingSshUser) KeyBy(keyField string) map[string]*NgingSshUser

func (Slice_NgingSshUser) Range

func (s Slice_NgingSshUser) Range(fn func(m factory.Model) error) error

func (Slice_NgingSshUser) RangeRaw

func (s Slice_NgingSshUser) RangeRaw(fn func(m *NgingSshUser) error) error

func (Slice_NgingSshUser) Transform

func (s Slice_NgingSshUser) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingSshUserGroup

type Slice_NgingSshUserGroup []*NgingSshUserGroup

func (Slice_NgingSshUserGroup) AsKV

func (s Slice_NgingSshUserGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingSshUserGroup) FromList

func (s Slice_NgingSshUserGroup) FromList(data interface{}) Slice_NgingSshUserGroup

func (Slice_NgingSshUserGroup) GroupBy

func (s Slice_NgingSshUserGroup) GroupBy(keyField string) map[string][]*NgingSshUserGroup

func (Slice_NgingSshUserGroup) KeyBy

func (s Slice_NgingSshUserGroup) KeyBy(keyField string) map[string]*NgingSshUserGroup

func (Slice_NgingSshUserGroup) Range

func (s Slice_NgingSshUserGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingSshUserGroup) RangeRaw

func (s Slice_NgingSshUserGroup) RangeRaw(fn func(m *NgingSshUserGroup) error) error

func (Slice_NgingSshUserGroup) Transform

func (s Slice_NgingSshUserGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingTask

type Slice_NgingTask []*NgingTask

func (Slice_NgingTask) AsKV

func (s Slice_NgingTask) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingTask) FromList

func (s Slice_NgingTask) FromList(data interface{}) Slice_NgingTask

func (Slice_NgingTask) GroupBy

func (s Slice_NgingTask) GroupBy(keyField string) map[string][]*NgingTask

func (Slice_NgingTask) KeyBy

func (s Slice_NgingTask) KeyBy(keyField string) map[string]*NgingTask

func (Slice_NgingTask) Range

func (s Slice_NgingTask) Range(fn func(m factory.Model) error) error

func (Slice_NgingTask) RangeRaw

func (s Slice_NgingTask) RangeRaw(fn func(m *NgingTask) error) error

func (Slice_NgingTask) Transform

func (s Slice_NgingTask) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingTaskGroup

type Slice_NgingTaskGroup []*NgingTaskGroup

func (Slice_NgingTaskGroup) AsKV

func (s Slice_NgingTaskGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingTaskGroup) FromList

func (s Slice_NgingTaskGroup) FromList(data interface{}) Slice_NgingTaskGroup

func (Slice_NgingTaskGroup) GroupBy

func (s Slice_NgingTaskGroup) GroupBy(keyField string) map[string][]*NgingTaskGroup

func (Slice_NgingTaskGroup) KeyBy

func (s Slice_NgingTaskGroup) KeyBy(keyField string) map[string]*NgingTaskGroup

func (Slice_NgingTaskGroup) Range

func (s Slice_NgingTaskGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingTaskGroup) RangeRaw

func (s Slice_NgingTaskGroup) RangeRaw(fn func(m *NgingTaskGroup) error) error

func (Slice_NgingTaskGroup) Transform

func (s Slice_NgingTaskGroup) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingTaskLog

type Slice_NgingTaskLog []*NgingTaskLog

func (Slice_NgingTaskLog) AsKV

func (s Slice_NgingTaskLog) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingTaskLog) FromList

func (s Slice_NgingTaskLog) FromList(data interface{}) Slice_NgingTaskLog

func (Slice_NgingTaskLog) GroupBy

func (s Slice_NgingTaskLog) GroupBy(keyField string) map[string][]*NgingTaskLog

func (Slice_NgingTaskLog) KeyBy

func (s Slice_NgingTaskLog) KeyBy(keyField string) map[string]*NgingTaskLog

func (Slice_NgingTaskLog) Range

func (s Slice_NgingTaskLog) Range(fn func(m factory.Model) error) error

func (Slice_NgingTaskLog) RangeRaw

func (s Slice_NgingTaskLog) RangeRaw(fn func(m *NgingTaskLog) error) error

func (Slice_NgingTaskLog) Transform

func (s Slice_NgingTaskLog) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUser

type Slice_NgingUser []*NgingUser

func (Slice_NgingUser) AsKV

func (s Slice_NgingUser) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUser) FromList

func (s Slice_NgingUser) FromList(data interface{}) Slice_NgingUser

func (Slice_NgingUser) GroupBy

func (s Slice_NgingUser) GroupBy(keyField string) map[string][]*NgingUser

func (Slice_NgingUser) KeyBy

func (s Slice_NgingUser) KeyBy(keyField string) map[string]*NgingUser

func (Slice_NgingUser) Range

func (s Slice_NgingUser) Range(fn func(m factory.Model) error) error

func (Slice_NgingUser) RangeRaw

func (s Slice_NgingUser) RangeRaw(fn func(m *NgingUser) error) error

func (Slice_NgingUser) Transform

func (s Slice_NgingUser) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUserRole

type Slice_NgingUserRole []*NgingUserRole

func (Slice_NgingUserRole) AsKV

func (s Slice_NgingUserRole) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserRole) FromList

func (s Slice_NgingUserRole) FromList(data interface{}) Slice_NgingUserRole

func (Slice_NgingUserRole) GroupBy

func (s Slice_NgingUserRole) GroupBy(keyField string) map[string][]*NgingUserRole

func (Slice_NgingUserRole) KeyBy

func (s Slice_NgingUserRole) KeyBy(keyField string) map[string]*NgingUserRole

func (Slice_NgingUserRole) Range

func (s Slice_NgingUserRole) Range(fn func(m factory.Model) error) error

func (Slice_NgingUserRole) RangeRaw

func (s Slice_NgingUserRole) RangeRaw(fn func(m *NgingUserRole) error) error

func (Slice_NgingUserRole) Transform

func (s Slice_NgingUserRole) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingUserU2f

type Slice_NgingUserU2f []*NgingUserU2f

func (Slice_NgingUserU2f) AsKV

func (s Slice_NgingUserU2f) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingUserU2f) FromList

func (s Slice_NgingUserU2f) FromList(data interface{}) Slice_NgingUserU2f

func (Slice_NgingUserU2f) GroupBy

func (s Slice_NgingUserU2f) GroupBy(keyField string) map[string][]*NgingUserU2f

func (Slice_NgingUserU2f) KeyBy

func (s Slice_NgingUserU2f) KeyBy(keyField string) map[string]*NgingUserU2f

func (Slice_NgingUserU2f) Range

func (s Slice_NgingUserU2f) Range(fn func(m factory.Model) error) error

func (Slice_NgingUserU2f) RangeRaw

func (s Slice_NgingUserU2f) RangeRaw(fn func(m *NgingUserU2f) error) error

func (Slice_NgingUserU2f) Transform

func (s Slice_NgingUserU2f) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingVhost

type Slice_NgingVhost []*NgingVhost

func (Slice_NgingVhost) AsKV

func (s Slice_NgingVhost) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingVhost) FromList

func (s Slice_NgingVhost) FromList(data interface{}) Slice_NgingVhost

func (Slice_NgingVhost) GroupBy

func (s Slice_NgingVhost) GroupBy(keyField string) map[string][]*NgingVhost

func (Slice_NgingVhost) KeyBy

func (s Slice_NgingVhost) KeyBy(keyField string) map[string]*NgingVhost

func (Slice_NgingVhost) Range

func (s Slice_NgingVhost) Range(fn func(m factory.Model) error) error

func (Slice_NgingVhost) RangeRaw

func (s Slice_NgingVhost) RangeRaw(fn func(m *NgingVhost) error) error

func (Slice_NgingVhost) Transform

func (s Slice_NgingVhost) Transform(transfers map[string]param.Transfer) []param.Store

type Slice_NgingVhostGroup

type Slice_NgingVhostGroup []*NgingVhostGroup

func (Slice_NgingVhostGroup) AsKV

func (s Slice_NgingVhostGroup) AsKV(keyField string, valueField string) param.Store

func (Slice_NgingVhostGroup) FromList

func (s Slice_NgingVhostGroup) FromList(data interface{}) Slice_NgingVhostGroup

func (Slice_NgingVhostGroup) GroupBy

func (s Slice_NgingVhostGroup) GroupBy(keyField string) map[string][]*NgingVhostGroup

func (Slice_NgingVhostGroup) KeyBy

func (s Slice_NgingVhostGroup) KeyBy(keyField string) map[string]*NgingVhostGroup

func (Slice_NgingVhostGroup) Range

func (s Slice_NgingVhostGroup) Range(fn func(m factory.Model) error) error

func (Slice_NgingVhostGroup) RangeRaw

func (s Slice_NgingVhostGroup) RangeRaw(fn func(m *NgingVhostGroup) error) error

func (Slice_NgingVhostGroup) Transform

func (s Slice_NgingVhostGroup) Transform(transfers map[string]param.Transfer) []param.Store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL