nodelogin

package
v0.0.0-...-96491ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 NewLogin

func NewLogin(ctx *common.Context) *Login

NewLogin : 实例化登陆模块

func (*Login) Close

func (login *Login) Close()

Close : 关闭

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

func (login *Login) RegisterAllocationNodeType(types []config.NodeType)

RegisterAllocationNodeType : 注册要分配的服务器资源类型

func (*Login) RegisterCustomAccountVerification

func (login *Login) RegisterCustomAccountVerification(f context.FuncTypeAccountVerification)

RegisterCustomAccountVerification : 注册自定义账号验证处理

func (*Login) Start

func (login *Login) Start() bool

Start : 启动

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL