Documentation
¶
Index ¶
- func DB() *bolt.DB
- func Init(source string) (e error)
- type Shell
- func (m Shell) Add(username string, element *data.Shell) (e error)
- func (m Shell) Init(tx *bolt.Tx) (e error)
- func (m Shell) Remove(username string, id int64) (e error)
- func (m Shell) Rename(username string, id int64, name string) (e error)
- func (m Shell) SetFontFamily(username string, id int64, fontFamily string) (e error)
- func (m Shell) SetFontSize(username string, id int64, fontSize int) (e error)
- type User
- func (m User) Add(name, password string, shell, read, write, root bool) (e error)
- func (m User) Change(name string, shell, read, write, root bool) (e error)
- func (m User) Init(tx *bolt.Tx) (e error)
- func (m User) List() (result []*data.User, e error)
- func (m User) Login(name, password string) (result *cookie.Session, e error)
- func (m User) Password(name, password string) (e error)
- func (m User) Password3(name, old, val string) (e error)
- func (m User) Remove(name string) (e error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Shell ¶
type Shell struct { }
Shell shell 记录表
func (Shell) SetFontFamily ¶
SetFontFamily 更改字體
Click to show internal directories.
Click to hide internal directories.