process

package
v0.0.0-...-2bf1368 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserId int

Functions

func ProcessServerMessage

func ProcessServerMessage(conn net.Conn)

func ShowMenu

func ShowMenu(conn net.Conn)

显示用户登录成功的可以使用的菜单

Types

type UserProcessor

type UserProcessor struct {
}

UserProcessor.go 相当于一个控制器,装用于处理与用户相关的

func (*UserProcessor) Login

func (up *UserProcessor) Login(userId int, passwd string) (err error)

func (*UserProcessor) Register

func (up *UserProcessor) Register(userId int, passwd string, userName string) (err error)

Jump to

Keyboard shortcuts

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