Documentation ¶
Index ¶
- func ChUser(userName string) (name string, err *data.CodeError)
- func CleanUser() *data.CodeError
- func GetMac() (mac *qbox.Mac, err *data.CodeError)
- func Load(i LoadInfo) *data.CodeError
- func RmUser(userName string) *data.CodeError
- func SaveToDB(acc Account, accountOver bool) (err *data.CodeError)
- func SetAccountToLocalFile(acc Account) (err *data.CodeError)
- type Account
- type LoadInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAccountToLocalFile ¶
保存账户信息到账户文件中
Types ¶
type Account ¶
Account - 用户自定义的账户名称
func GetOldAccount ¶
qshell 会记录当前的user信息,当切换账户后, 老的账户信息会记录下来 qshell user cu就可以切换到老的账户信息, 参考cd -回到先前的目录
Click to show internal directories.
Click to hide internal directories.