Documentation ¶
Index ¶
Constants ¶
View Source
const ( USER ups = 1 << 0 // The weight of USER is 1 PASS ups = 1 << 1 // The weight of PASS is 2 SECU ups = 1 << 2 // The weight of SECU is 4 )
USER 表示 已设置账户 PASS 表示 已设置密码 SECU 表示 已开启访问登录
Variables ¶
This section is empty.
Functions ¶
func NewUPSHandler ¶
func NewUPSHandler(weight uint8) *upsHandler
Types ¶
type Handler ¶
type Handler interface {
Handle() error
}
func NewPathHandler ¶
func NewPortHandler ¶
Click to show internal directories.
Click to hide internal directories.