Documentation ¶
Index ¶
- func DoAccountDelete(logger *log.Entry, username string) error
- func DoUserProcessKill(logger *log.Entry, username string)
- func LinuxUserPreset(logger *log.Entry, username string) error
- func SshAccountSet(account *proto.SshAccount) error
- func SshAccountSync(msg *proto.AccountStream) error
- type Config
- type GrpcAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoUserProcessKill ¶
DoUserProcessKill 当用户没有进程时,将会产生 error,所以忽略 error
func SshAccountSet ¶
func SshAccountSet(account *proto.SshAccount) error
SshAccountSet 返回 error 代表流需要重启
func SshAccountSync ¶
func SshAccountSync(msg *proto.AccountStream) error
Types ¶
type Config ¶
func ReadConfig ¶
func ReadConfig() Config
Click to show internal directories.
Click to hide internal directories.