Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Cmd *flag.FlagSet List bool // 打印用户列表 Add bool // 添加用户 Upd bool // 更新用户 Del bool // 删除用户 Config string // 配置文件 Username string // 用户名 Password string // 密码 Expired string // 有效期,格式: yyyy-MM-dd HH:mm:ss MaxRate int // 最大速率,单位KB MaxConnection int // 最大连接数 }
Config 用户配置结构
Click to show internal directories.
Click to hide internal directories.