user

package
v0.0.0-...-d098e83 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USER_ID_MAP

type USER_ID_MAP map[type_define.USER_ID]*User

type USER_MAP

type USER_MAP map[*tcp.Remote]*User

type User

type User struct {
	// contains filtered or unexported fields
}

type UserMgr

type UserMgr struct {
	// contains filtered or unexported fields
}
var GUserMgr UserMgr

func (*UserMgr) AddUser

func (p *UserMgr) AddUser(remote *tcp.Remote) (user *User)

func (*UserMgr) AddUserId

func (p *UserMgr) AddUserId(uid type_define.USER_ID, user *User)

func (*UserMgr) DelUser

func (p *UserMgr) DelUser(remote *tcp.Remote)

func (*UserMgr) DelUserId

func (p *UserMgr) DelUserId(uid type_define.USER_ID)

func (*UserMgr) Find

func (p *UserMgr) Find(remote *tcp.Remote) (user *User)

func (*UserMgr) FindById

func (p *UserMgr) FindById(uid type_define.USER_ID) (user *User)

func (*UserMgr) Init

func (p *UserMgr) Init()

Jump to

Keyboard shortcuts

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