process

package
v0.0.0-...-e41ca22 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: GPL-3.0 Imports: 7 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