Documentation ¶
Index ¶
- type Login
- func (login *Login) Close()
- func (login *Login) Login(account, password string, defaultMode bool, userdata []byte) (string, []string, []int32, []config.NodeType, []context.NodeID, ...)
- func (login *Login) RegisterAllocationNodeType(types []config.NodeType)
- func (login *Login) RegisterCustomAccountVerification(f context.FuncTypeAccountVerification)
- func (login *Login) Start() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Login ¶
type Login struct { *nodenormal.Normal // contains filtered or unexported fields }
Login : 登陆模块
func (*Login) Login ¶
func (login *Login) Login(account, password string, defaultMode bool, userdata []byte) (string, []string, []int32, []config.NodeType, []context.NodeID, context.LoginErrCode)
Login : 登陆处理
func (*Login) RegisterAllocationNodeType ¶
RegisterAllocationNodeType : 注册要分配的服务器资源类型
func (*Login) RegisterCustomAccountVerification ¶
func (login *Login) RegisterCustomAccountVerification(f context.FuncTypeAccountVerification)
RegisterCustomAccountVerification : 注册自定义账号验证处理
Click to show internal directories.
Click to hide internal directories.