Documentation ¶
Index ¶
- Variables
- type FrpClient
- type FrpClientAndGroup
- type FrpGroup
- type FrpServer
- type FrpServerAndGroup
- type FrpUser
- func (f *FrpUser) Add() (pk interface{}, err error)
- func (f *FrpUser) CheckPasswd(serverID uint, username string, password string) error
- func (f *FrpUser) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (f *FrpUser) Exists(serverID uint, username string, excludeIDs ...uint64) (bool, error)
- type FrpUserAndServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FrpClient ¶
type FrpClient struct {
*dbschema.NgingFrpClient
}
func NewFrpClient ¶
type FrpClientAndGroup ¶
type FrpClientAndGroup struct { *dbschema.NgingFrpClient Group *dbschema.NgingFrpGroup `db:"-,relation=id:group_id|gtZero"` Running bool }
type FrpServer ¶
type FrpServer struct {
*dbschema.NgingFrpServer
}
func NewFrpServer ¶
type FrpServerAndGroup ¶
type FrpServerAndGroup struct { *dbschema.NgingFrpServer Group *dbschema.NgingFrpGroup `db:"-,relation=id:group_id|gtZero"` Running bool }
type FrpUser ¶
type FrpUser struct {
*dbschema.NgingFrpUser
}
func NewFrpUser ¶
func (*FrpUser) CheckPasswd ¶
type FrpUserAndServer ¶
type FrpUserAndServer struct { *dbschema.NgingFrpUser Server *dbschema.NgingFrpServer `db:"-,relation=id:server_id|gtZero"` }
Click to show internal directories.
Click to hide internal directories.