Documentation ¶
Index ¶
- Variables
- type FtpUser
- func (f *FtpUser) Add() (pk interface{}, err error)
- func (f *FtpUser) CheckPasswd(username string, password string) (bool, error)
- func (f *FtpUser) Edit(mw func(db.Result) db.Result, args ...interface{}) error
- func (f *FtpUser) Exists(username string, excludeIDs ...uint) (bool, error)
- func (f *FtpUser) RootPath(username string) (basePath string, err error)
- type FtpUserAndGroup
- type FtpUserGroup
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type FtpUser ¶
type FtpUser struct {
*dbschema.NgingFtpUser
}
func NewFtpUser ¶
func (*FtpUser) CheckPasswd ¶
type FtpUserAndGroup ¶
type FtpUserAndGroup struct { *dbschema.NgingFtpUser Group *dbschema.NgingFtpUserGroup `db:"-,relation=id:group_id|gtZero"` }
type FtpUserGroup ¶
type FtpUserGroup struct {
*dbschema.NgingFtpUserGroup
}
func NewFtpUserGroup ¶
func NewFtpUserGroup(ctx echo.Context) *FtpUserGroup
func (*FtpUserGroup) ExistsOther ¶
func (f *FtpUserGroup) ExistsOther(name string, id uint) (bool, error)
func (*FtpUserGroup) ListByActive ¶
func (f *FtpUserGroup) ListByActive(page int, size int) (func() int64, []*dbschema.NgingFtpUserGroup, error)
Click to show internal directories.
Click to hide internal directories.