Documentation ¶
Index ¶
- Variables
- type NgingFrpClient
- func (a *NgingFrpClient) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpClient) param.Store
- func (a *NgingFrpClient) AsMap(onlyFields ...string) param.Store
- func (a *NgingFrpClient) AsRow(onlyFields ...string) param.Store
- func (a *NgingFrpClient) BatchValidate(kvset map[string]interface{}) error
- func (a *NgingFrpClient) CPAFrom(source factory.Model) factory.Model
- func (a *NgingFrpClient) Context() echo.Context
- func (a *NgingFrpClient) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *NgingFrpClient) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpClient) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpClient) EventOFF(off ...bool) factory.Model
- func (a *NgingFrpClient) EventON(on ...bool) factory.Model
- func (a *NgingFrpClient) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)
- func (a *NgingFrpClient) FromRow(row map[string]interface{})
- func (a *NgingFrpClient) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpClient) GroupBy(keyField string, inputRows ...[]*NgingFrpClient) map[string][]*NgingFrpClient
- func (a *NgingFrpClient) InitObjects() *[]*NgingFrpClient
- func (a *NgingFrpClient) Insert() (pk interface{}, err error)
- func (a *NgingFrpClient) KeyBy(keyField string, inputRows ...[]*NgingFrpClient) map[string]*NgingFrpClient
- func (a *NgingFrpClient) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *NgingFrpClient) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *NgingFrpClient) ListPage(cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpClient) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpClient) Name_() string
- func (a *NgingFrpClient) Namer() func(factory.Model) string
- func (a *NgingFrpClient) New(structName string, connID ...int) factory.Model
- func (a *NgingFrpClient) NewObjects() factory.Ranger
- func (a *NgingFrpClient) NewParam() *factory.Param
- func (a *NgingFrpClient) Objects() []*NgingFrpClient
- func (a *NgingFrpClient) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *NgingFrpClient) Reset() *NgingFrpClient
- func (a *NgingFrpClient) Set(key interface{}, value ...interface{})
- func (a *NgingFrpClient) SetConnID(connID int) factory.Model
- func (a *NgingFrpClient) SetContext(ctx echo.Context) factory.Model
- func (a *NgingFrpClient) SetNamer(namer func(factory.Model) string) factory.Model
- func (a *NgingFrpClient) SetParam(param *factory.Param) factory.Model
- func (a *NgingFrpClient) Short_() string
- func (a *NgingFrpClient) Struct_() string
- func (a *NgingFrpClient) Trans() *factory.Transaction
- func (a *NgingFrpClient) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpClient) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)
- func (a *NgingFrpClient) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *NgingFrpClient) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *NgingFrpClient) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
- func (a *NgingFrpClient) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpClient) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpClient) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *NgingFrpClient) Use(trans *factory.Transaction) factory.Model
- func (a *NgingFrpClient) Validate(field string, value interface{}) error
- func (a *NgingFrpClient) XObjects() Slice_NgingFrpClient
- type NgingFrpGroup
- func (a *NgingFrpGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpGroup) param.Store
- func (a *NgingFrpGroup) AsMap(onlyFields ...string) param.Store
- func (a *NgingFrpGroup) AsRow(onlyFields ...string) param.Store
- func (a *NgingFrpGroup) BatchValidate(kvset map[string]interface{}) error
- func (a *NgingFrpGroup) CPAFrom(source factory.Model) factory.Model
- func (a *NgingFrpGroup) Context() echo.Context
- func (a *NgingFrpGroup) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *NgingFrpGroup) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpGroup) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpGroup) EventOFF(off ...bool) factory.Model
- func (a *NgingFrpGroup) EventON(on ...bool) factory.Model
- func (a *NgingFrpGroup) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)
- func (a *NgingFrpGroup) FromRow(row map[string]interface{})
- func (a *NgingFrpGroup) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpGroup) GroupBy(keyField string, inputRows ...[]*NgingFrpGroup) map[string][]*NgingFrpGroup
- func (a *NgingFrpGroup) InitObjects() *[]*NgingFrpGroup
- func (a *NgingFrpGroup) Insert() (pk interface{}, err error)
- func (a *NgingFrpGroup) KeyBy(keyField string, inputRows ...[]*NgingFrpGroup) map[string]*NgingFrpGroup
- func (a *NgingFrpGroup) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *NgingFrpGroup) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *NgingFrpGroup) ListPage(cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpGroup) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpGroup) Name_() string
- func (a *NgingFrpGroup) Namer() func(factory.Model) string
- func (a *NgingFrpGroup) New(structName string, connID ...int) factory.Model
- func (a *NgingFrpGroup) NewObjects() factory.Ranger
- func (a *NgingFrpGroup) NewParam() *factory.Param
- func (a *NgingFrpGroup) Objects() []*NgingFrpGroup
- func (a *NgingFrpGroup) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *NgingFrpGroup) Reset() *NgingFrpGroup
- func (a *NgingFrpGroup) Set(key interface{}, value ...interface{})
- func (a *NgingFrpGroup) SetConnID(connID int) factory.Model
- func (a *NgingFrpGroup) SetContext(ctx echo.Context) factory.Model
- func (a *NgingFrpGroup) SetNamer(namer func(factory.Model) string) factory.Model
- func (a *NgingFrpGroup) SetParam(param *factory.Param) factory.Model
- func (a *NgingFrpGroup) Short_() string
- func (a *NgingFrpGroup) Struct_() string
- func (a *NgingFrpGroup) Trans() *factory.Transaction
- func (a *NgingFrpGroup) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpGroup) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)
- func (a *NgingFrpGroup) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *NgingFrpGroup) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *NgingFrpGroup) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
- func (a *NgingFrpGroup) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpGroup) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpGroup) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *NgingFrpGroup) Use(trans *factory.Transaction) factory.Model
- func (a *NgingFrpGroup) Validate(field string, value interface{}) error
- func (a *NgingFrpGroup) XObjects() Slice_NgingFrpGroup
- type NgingFrpServer
- func (a *NgingFrpServer) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpServer) param.Store
- func (a *NgingFrpServer) AsMap(onlyFields ...string) param.Store
- func (a *NgingFrpServer) AsRow(onlyFields ...string) param.Store
- func (a *NgingFrpServer) BatchValidate(kvset map[string]interface{}) error
- func (a *NgingFrpServer) CPAFrom(source factory.Model) factory.Model
- func (a *NgingFrpServer) Context() echo.Context
- func (a *NgingFrpServer) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *NgingFrpServer) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpServer) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpServer) EventOFF(off ...bool) factory.Model
- func (a *NgingFrpServer) EventON(on ...bool) factory.Model
- func (a *NgingFrpServer) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)
- func (a *NgingFrpServer) FromRow(row map[string]interface{})
- func (a *NgingFrpServer) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpServer) GroupBy(keyField string, inputRows ...[]*NgingFrpServer) map[string][]*NgingFrpServer
- func (a *NgingFrpServer) InitObjects() *[]*NgingFrpServer
- func (a *NgingFrpServer) Insert() (pk interface{}, err error)
- func (a *NgingFrpServer) KeyBy(keyField string, inputRows ...[]*NgingFrpServer) map[string]*NgingFrpServer
- func (a *NgingFrpServer) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *NgingFrpServer) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *NgingFrpServer) ListPage(cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpServer) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpServer) Name_() string
- func (a *NgingFrpServer) Namer() func(factory.Model) string
- func (a *NgingFrpServer) New(structName string, connID ...int) factory.Model
- func (a *NgingFrpServer) NewObjects() factory.Ranger
- func (a *NgingFrpServer) NewParam() *factory.Param
- func (a *NgingFrpServer) Objects() []*NgingFrpServer
- func (a *NgingFrpServer) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *NgingFrpServer) Reset() *NgingFrpServer
- func (a *NgingFrpServer) Set(key interface{}, value ...interface{})
- func (a *NgingFrpServer) SetConnID(connID int) factory.Model
- func (a *NgingFrpServer) SetContext(ctx echo.Context) factory.Model
- func (a *NgingFrpServer) SetNamer(namer func(factory.Model) string) factory.Model
- func (a *NgingFrpServer) SetParam(param *factory.Param) factory.Model
- func (a *NgingFrpServer) Short_() string
- func (a *NgingFrpServer) Struct_() string
- func (a *NgingFrpServer) Trans() *factory.Transaction
- func (a *NgingFrpServer) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpServer) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)
- func (a *NgingFrpServer) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *NgingFrpServer) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *NgingFrpServer) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
- func (a *NgingFrpServer) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpServer) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpServer) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *NgingFrpServer) Use(trans *factory.Transaction) factory.Model
- func (a *NgingFrpServer) Validate(field string, value interface{}) error
- func (a *NgingFrpServer) XObjects() Slice_NgingFrpServer
- type NgingFrpUser
- func (a *NgingFrpUser) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpUser) param.Store
- func (a *NgingFrpUser) AsMap(onlyFields ...string) param.Store
- func (a *NgingFrpUser) AsRow(onlyFields ...string) param.Store
- func (a *NgingFrpUser) BatchValidate(kvset map[string]interface{}) error
- func (a *NgingFrpUser) CPAFrom(source factory.Model) factory.Model
- func (a *NgingFrpUser) Context() echo.Context
- func (a *NgingFrpUser) Count(mw func(db.Result) db.Result, args ...interface{}) (int64, error)
- func (a *NgingFrpUser) Delete(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpUser) Deletex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpUser) EventOFF(off ...bool) factory.Model
- func (a *NgingFrpUser) EventON(on ...bool) factory.Model
- func (a *NgingFrpUser) Exists(mw func(db.Result) db.Result, args ...interface{}) (bool, error)
- func (a *NgingFrpUser) FromRow(row map[string]interface{})
- func (a *NgingFrpUser) Get(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpUser) GroupBy(keyField string, inputRows ...[]*NgingFrpUser) map[string][]*NgingFrpUser
- func (a *NgingFrpUser) InitObjects() *[]*NgingFrpUser
- func (a *NgingFrpUser) Insert() (pk interface{}, err error)
- func (a *NgingFrpUser) KeyBy(keyField string, inputRows ...[]*NgingFrpUser) map[string]*NgingFrpUser
- func (a *NgingFrpUser) List(recv interface{}, mw func(db.Result) db.Result, page, size int, ...) (func() int64, error)
- func (a *NgingFrpUser) ListByOffset(recv interface{}, mw func(db.Result) db.Result, offset, size int, ...) (func() int64, error)
- func (a *NgingFrpUser) ListPage(cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpUser) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
- func (a *NgingFrpUser) Name_() string
- func (a *NgingFrpUser) Namer() func(factory.Model) string
- func (a *NgingFrpUser) New(structName string, connID ...int) factory.Model
- func (a *NgingFrpUser) NewObjects() factory.Ranger
- func (a *NgingFrpUser) NewParam() *factory.Param
- func (a *NgingFrpUser) Objects() []*NgingFrpUser
- func (a *NgingFrpUser) Param(mw func(db.Result) db.Result, args ...interface{}) *factory.Param
- func (a *NgingFrpUser) Reset() *NgingFrpUser
- func (a *NgingFrpUser) Set(key interface{}, value ...interface{})
- func (a *NgingFrpUser) SetConnID(connID int) factory.Model
- func (a *NgingFrpUser) SetContext(ctx echo.Context) factory.Model
- func (a *NgingFrpUser) SetNamer(namer func(factory.Model) string) factory.Model
- func (a *NgingFrpUser) SetParam(param *factory.Param) factory.Model
- func (a *NgingFrpUser) Short_() string
- func (a *NgingFrpUser) Struct_() string
- func (a *NgingFrpUser) Trans() *factory.Transaction
- func (a *NgingFrpUser) Update(mw func(db.Result) db.Result, args ...interface{}) (err error)
- func (a *NgingFrpUser) UpdateByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (err error)
- func (a *NgingFrpUser) UpdateField(mw func(db.Result) db.Result, field string, value interface{}, ...) (err error)
- func (a *NgingFrpUser) UpdateFields(mw func(db.Result) db.Result, kvset map[string]interface{}, ...) (err error)
- func (a *NgingFrpUser) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
- func (a *NgingFrpUser) Updatex(mw func(db.Result) db.Result, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpUser) UpdatexByFields(mw func(db.Result) db.Result, fields []string, args ...interface{}) (affected int64, err error)
- func (a *NgingFrpUser) Upsert(mw func(db.Result) db.Result, args ...interface{}) (pk interface{}, err error)
- func (a *NgingFrpUser) Use(trans *factory.Transaction) factory.Model
- func (a *NgingFrpUser) Validate(field string, value interface{}) error
- func (a *NgingFrpUser) XObjects() Slice_NgingFrpUser
- type Slice_NgingFrpClient
- func (s Slice_NgingFrpClient) AsKV(keyField string, valueField string) param.Store
- func (s Slice_NgingFrpClient) FromList(data interface{}) Slice_NgingFrpClient
- func (s Slice_NgingFrpClient) GroupBy(keyField string) map[string][]*NgingFrpClient
- func (s Slice_NgingFrpClient) KeyBy(keyField string) map[string]*NgingFrpClient
- func (s Slice_NgingFrpClient) Range(fn func(m factory.Model) error) error
- func (s Slice_NgingFrpClient) RangeRaw(fn func(m *NgingFrpClient) error) error
- func (s Slice_NgingFrpClient) Transform(transfers map[string]param.Transfer) []param.Store
- type Slice_NgingFrpGroup
- func (s Slice_NgingFrpGroup) AsKV(keyField string, valueField string) param.Store
- func (s Slice_NgingFrpGroup) FromList(data interface{}) Slice_NgingFrpGroup
- func (s Slice_NgingFrpGroup) GroupBy(keyField string) map[string][]*NgingFrpGroup
- func (s Slice_NgingFrpGroup) KeyBy(keyField string) map[string]*NgingFrpGroup
- func (s Slice_NgingFrpGroup) Range(fn func(m factory.Model) error) error
- func (s Slice_NgingFrpGroup) RangeRaw(fn func(m *NgingFrpGroup) error) error
- func (s Slice_NgingFrpGroup) Transform(transfers map[string]param.Transfer) []param.Store
- type Slice_NgingFrpServer
- func (s Slice_NgingFrpServer) AsKV(keyField string, valueField string) param.Store
- func (s Slice_NgingFrpServer) FromList(data interface{}) Slice_NgingFrpServer
- func (s Slice_NgingFrpServer) GroupBy(keyField string) map[string][]*NgingFrpServer
- func (s Slice_NgingFrpServer) KeyBy(keyField string) map[string]*NgingFrpServer
- func (s Slice_NgingFrpServer) Range(fn func(m factory.Model) error) error
- func (s Slice_NgingFrpServer) RangeRaw(fn func(m *NgingFrpServer) error) error
- func (s Slice_NgingFrpServer) Transform(transfers map[string]param.Transfer) []param.Store
- type Slice_NgingFrpUser
- func (s Slice_NgingFrpUser) AsKV(keyField string, valueField string) param.Store
- func (s Slice_NgingFrpUser) FromList(data interface{}) Slice_NgingFrpUser
- func (s Slice_NgingFrpUser) GroupBy(keyField string) map[string][]*NgingFrpUser
- func (s Slice_NgingFrpUser) KeyBy(keyField string) map[string]*NgingFrpUser
- func (s Slice_NgingFrpUser) Range(fn func(m factory.Model) error) error
- func (s Slice_NgingFrpUser) RangeRaw(fn func(m *NgingFrpUser) error) error
- func (s Slice_NgingFrpUser) Transform(transfers map[string]param.Transfer) []param.Store
Constants ¶
This section is empty.
Variables ¶
View Source
var DBI = factory.DefaultDBI
View Source
var WithPrefix = func(tableName string) string {
return "" + tableName
}
Functions ¶
This section is empty.
Types ¶
type 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 */ Metas string `db:"metas" bson:"metas" comment:"meta值" json:"metas" xml:"metas"` 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 NewNgingFrpClient ¶
func NewNgingFrpClient(ctx echo.Context) *NgingFrpClient
func (*NgingFrpClient) AsKV ¶
func (a *NgingFrpClient) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpClient) 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) FromRow ¶
func (a *NgingFrpClient) FromRow(row map[string]interface{})
func (*NgingFrpClient) GroupBy ¶
func (a *NgingFrpClient) GroupBy(keyField string, inputRows ...[]*NgingFrpClient) map[string][]*NgingFrpClient
func (*NgingFrpClient) InitObjects ¶
func (a *NgingFrpClient) InitObjects() *[]*NgingFrpClient
func (*NgingFrpClient) Insert ¶
func (a *NgingFrpClient) Insert() (pk interface{}, err error)
func (*NgingFrpClient) KeyBy ¶
func (a *NgingFrpClient) KeyBy(keyField string, inputRows ...[]*NgingFrpClient) map[string]*NgingFrpClient
func (*NgingFrpClient) ListByOffset ¶
func (*NgingFrpClient) ListPage ¶
func (a *NgingFrpClient) ListPage(cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpClient) ListPageAs ¶
func (a *NgingFrpClient) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpClient) Name_ ¶
func (a *NgingFrpClient) Name_() 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) Reset ¶
func (a *NgingFrpClient) Reset() *NgingFrpClient
func (*NgingFrpClient) Set ¶
func (a *NgingFrpClient) Set(key interface{}, value ...interface{})
func (*NgingFrpClient) SetContext ¶
func (a *NgingFrpClient) SetContext(ctx echo.Context) 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) UpdateByFields ¶
func (*NgingFrpClient) UpdateField ¶
func (*NgingFrpClient) UpdateFields ¶
func (*NgingFrpClient) UpdateValues ¶
func (a *NgingFrpClient) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
func (*NgingFrpClient) UpdatexByFields ¶
func (*NgingFrpClient) Use ¶
func (a *NgingFrpClient) Use(trans *factory.Transaction) factory.Model
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 NewNgingFrpGroup ¶
func NewNgingFrpGroup(ctx echo.Context) *NgingFrpGroup
func (*NgingFrpGroup) AsKV ¶
func (a *NgingFrpGroup) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpGroup) param.Store
func (*NgingFrpGroup) BatchValidate ¶
func (a *NgingFrpGroup) BatchValidate(kvset map[string]interface{}) error
func (*NgingFrpGroup) Context ¶
func (a *NgingFrpGroup) Context() echo.Context
func (*NgingFrpGroup) FromRow ¶
func (a *NgingFrpGroup) FromRow(row map[string]interface{})
func (*NgingFrpGroup) GroupBy ¶
func (a *NgingFrpGroup) GroupBy(keyField string, inputRows ...[]*NgingFrpGroup) map[string][]*NgingFrpGroup
func (*NgingFrpGroup) InitObjects ¶
func (a *NgingFrpGroup) InitObjects() *[]*NgingFrpGroup
func (*NgingFrpGroup) Insert ¶
func (a *NgingFrpGroup) Insert() (pk interface{}, err error)
func (*NgingFrpGroup) KeyBy ¶
func (a *NgingFrpGroup) KeyBy(keyField string, inputRows ...[]*NgingFrpGroup) map[string]*NgingFrpGroup
func (*NgingFrpGroup) ListByOffset ¶
func (*NgingFrpGroup) ListPage ¶
func (a *NgingFrpGroup) ListPage(cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpGroup) ListPageAs ¶
func (a *NgingFrpGroup) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpGroup) Name_ ¶
func (a *NgingFrpGroup) Name_() 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) Reset ¶
func (a *NgingFrpGroup) Reset() *NgingFrpGroup
func (*NgingFrpGroup) Set ¶
func (a *NgingFrpGroup) Set(key interface{}, value ...interface{})
func (*NgingFrpGroup) SetContext ¶
func (a *NgingFrpGroup) SetContext(ctx echo.Context) 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) UpdateByFields ¶
func (*NgingFrpGroup) UpdateField ¶
func (*NgingFrpGroup) UpdateFields ¶
func (*NgingFrpGroup) UpdateValues ¶
func (a *NgingFrpGroup) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
func (*NgingFrpGroup) UpdatexByFields ¶
func (*NgingFrpGroup) Use ¶
func (a *NgingFrpGroup) Use(trans *factory.Transaction) factory.Model
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"` Plugins string `db:"plugins" bson:"plugins" comment:"启用插件(半角逗号分隔)" json:"plugins" xml:"plugins"` 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 NewNgingFrpServer ¶
func NewNgingFrpServer(ctx echo.Context) *NgingFrpServer
func (*NgingFrpServer) AsKV ¶
func (a *NgingFrpServer) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpServer) 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) FromRow ¶
func (a *NgingFrpServer) FromRow(row map[string]interface{})
func (*NgingFrpServer) GroupBy ¶
func (a *NgingFrpServer) GroupBy(keyField string, inputRows ...[]*NgingFrpServer) map[string][]*NgingFrpServer
func (*NgingFrpServer) InitObjects ¶
func (a *NgingFrpServer) InitObjects() *[]*NgingFrpServer
func (*NgingFrpServer) Insert ¶
func (a *NgingFrpServer) Insert() (pk interface{}, err error)
func (*NgingFrpServer) KeyBy ¶
func (a *NgingFrpServer) KeyBy(keyField string, inputRows ...[]*NgingFrpServer) map[string]*NgingFrpServer
func (*NgingFrpServer) ListByOffset ¶
func (*NgingFrpServer) ListPage ¶
func (a *NgingFrpServer) ListPage(cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpServer) ListPageAs ¶
func (a *NgingFrpServer) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpServer) Name_ ¶
func (a *NgingFrpServer) Name_() 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) Reset ¶
func (a *NgingFrpServer) Reset() *NgingFrpServer
func (*NgingFrpServer) Set ¶
func (a *NgingFrpServer) Set(key interface{}, value ...interface{})
func (*NgingFrpServer) SetContext ¶
func (a *NgingFrpServer) SetContext(ctx echo.Context) 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) UpdateByFields ¶
func (*NgingFrpServer) UpdateField ¶
func (*NgingFrpServer) UpdateFields ¶
func (*NgingFrpServer) UpdateValues ¶
func (a *NgingFrpServer) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
func (*NgingFrpServer) UpdatexByFields ¶
func (*NgingFrpServer) Use ¶
func (a *NgingFrpServer) Use(trans *factory.Transaction) factory.Model
func (*NgingFrpServer) Validate ¶
func (a *NgingFrpServer) Validate(field string, value interface{}) error
func (*NgingFrpServer) XObjects ¶
func (a *NgingFrpServer) XObjects() Slice_NgingFrpServer
type NgingFrpUser ¶
type NgingFrpUser struct { Id uint64 `db:"id,omitempty,pk" bson:"id,omitempty" comment:"" json:"id" xml:"id"` ServerId uint `db:"server_id" bson:"server_id" comment:"服务ID" json:"server_id" xml:"server_id"` CustomerId uint64 `db:"customer_id" bson:"customer_id" comment:"客户ID" json:"customer_id" xml:"customer_id"` Uid uint `db:"uid" bson:"uid" comment:"管理员ID" json:"uid" xml:"uid"` 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"` Bandwidth string `db:"bandwidth" bson:"bandwidth" comment:"带宽(MB/KB) " json:"bandwidth" xml:"bandwidth"` TrafficUsed uint64 `db:"traffic_used" bson:"traffic_used" comment:"已用流量" json:"traffic_used" xml:"traffic_used"` TrafficTotal uint64 `db:"traffic_total" bson:"traffic_total" comment:"流量总量" json:"traffic_total" xml:"traffic_total"` 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"` Start uint `db:"start" bson:"start" comment:"生效时间" json:"start" xml:"start"` End uint `db:"end" bson:"end" comment:"过期时间" json:"end" xml:"end"` 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 }
NgingFrpUser 网络用户
func NewNgingFrpUser ¶
func NewNgingFrpUser(ctx echo.Context) *NgingFrpUser
func (*NgingFrpUser) AsKV ¶
func (a *NgingFrpUser) AsKV(keyField string, valueField string, inputRows ...[]*NgingFrpUser) param.Store
func (*NgingFrpUser) BatchValidate ¶
func (a *NgingFrpUser) BatchValidate(kvset map[string]interface{}) error
func (*NgingFrpUser) Context ¶
func (a *NgingFrpUser) Context() echo.Context
func (*NgingFrpUser) FromRow ¶
func (a *NgingFrpUser) FromRow(row map[string]interface{})
func (*NgingFrpUser) GroupBy ¶
func (a *NgingFrpUser) GroupBy(keyField string, inputRows ...[]*NgingFrpUser) map[string][]*NgingFrpUser
func (*NgingFrpUser) InitObjects ¶
func (a *NgingFrpUser) InitObjects() *[]*NgingFrpUser
func (*NgingFrpUser) Insert ¶
func (a *NgingFrpUser) Insert() (pk interface{}, err error)
func (*NgingFrpUser) KeyBy ¶
func (a *NgingFrpUser) KeyBy(keyField string, inputRows ...[]*NgingFrpUser) map[string]*NgingFrpUser
func (*NgingFrpUser) ListByOffset ¶
func (*NgingFrpUser) ListPage ¶
func (a *NgingFrpUser) ListPage(cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpUser) ListPageAs ¶
func (a *NgingFrpUser) ListPageAs(recv interface{}, cond *db.Compounds, sorts ...interface{}) error
func (*NgingFrpUser) Name_ ¶
func (a *NgingFrpUser) Name_() string
func (*NgingFrpUser) New ¶
func (a *NgingFrpUser) New(structName string, connID ...int) factory.Model
func (*NgingFrpUser) NewObjects ¶
func (a *NgingFrpUser) NewObjects() factory.Ranger
func (*NgingFrpUser) NewParam ¶
func (a *NgingFrpUser) NewParam() *factory.Param
func (*NgingFrpUser) Objects ¶
func (a *NgingFrpUser) Objects() []*NgingFrpUser
func (*NgingFrpUser) Reset ¶
func (a *NgingFrpUser) Reset() *NgingFrpUser
func (*NgingFrpUser) Set ¶
func (a *NgingFrpUser) Set(key interface{}, value ...interface{})
func (*NgingFrpUser) SetContext ¶
func (a *NgingFrpUser) SetContext(ctx echo.Context) factory.Model
func (*NgingFrpUser) Short_ ¶
func (a *NgingFrpUser) Short_() string
func (*NgingFrpUser) Struct_ ¶
func (a *NgingFrpUser) Struct_() string
func (*NgingFrpUser) Trans ¶
func (a *NgingFrpUser) Trans() *factory.Transaction
func (*NgingFrpUser) UpdateByFields ¶
func (*NgingFrpUser) UpdateField ¶
func (*NgingFrpUser) UpdateFields ¶
func (*NgingFrpUser) UpdateValues ¶
func (a *NgingFrpUser) UpdateValues(mw func(db.Result) db.Result, keysValues *db.KeysValues, args ...interface{}) (err error)
func (*NgingFrpUser) UpdatexByFields ¶
func (*NgingFrpUser) Use ¶
func (a *NgingFrpUser) Use(trans *factory.Transaction) factory.Model
func (*NgingFrpUser) Validate ¶
func (a *NgingFrpUser) Validate(field string, value interface{}) error
func (*NgingFrpUser) XObjects ¶
func (a *NgingFrpUser) XObjects() Slice_NgingFrpUser
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
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
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
type Slice_NgingFrpUser ¶
type Slice_NgingFrpUser []*NgingFrpUser
func (Slice_NgingFrpUser) AsKV ¶
func (s Slice_NgingFrpUser) AsKV(keyField string, valueField string) param.Store
func (Slice_NgingFrpUser) FromList ¶
func (s Slice_NgingFrpUser) FromList(data interface{}) Slice_NgingFrpUser
func (Slice_NgingFrpUser) GroupBy ¶
func (s Slice_NgingFrpUser) GroupBy(keyField string) map[string][]*NgingFrpUser
func (Slice_NgingFrpUser) KeyBy ¶
func (s Slice_NgingFrpUser) KeyBy(keyField string) map[string]*NgingFrpUser
func (Slice_NgingFrpUser) Range ¶
func (s Slice_NgingFrpUser) Range(fn func(m factory.Model) error) error
func (Slice_NgingFrpUser) RangeRaw ¶
func (s Slice_NgingFrpUser) RangeRaw(fn func(m *NgingFrpUser) error) error
Click to show internal directories.
Click to hide internal directories.