package
0.0.0-20221204230720-bab2deb612af
Repository: https://github.com/protossgenius/hacknet.git
Documentation: pkg.go.dev

# Functions

GetHackerStatusDesc get HackerStatus's desc.
GetHackerStatusName get HackerStatus's desc.
NewP2PHelper .
NewPointInfoMgr get a point info manager.
SetP2PHelperFacotry .
SetPointInfoMgrFactory set PointInfoMgrItf's factory.

# Constants

CRSInit ready to send info to client.
CRSRefuse refuse.
CRSSuccess get success response.
CRSWaitPointResposne already send info to client, waiting it's response.
hacker has been ban.
Hacker dead(not on line).
hacker live.
ready to check email.
LeaseTime how long room can quiet.

# Structs

BanInfo ban infos.
P2PRoom when help create p2p we need know eachother's PointInfo.
PointInfo point info.

# Interfaces

P2PHelperItf point to point helper, to help point connect another point.
PointInfoMgrItf point info manager interface.

# Type aliases

CreateRoomStatus .
@SMIST setIgnoreInput(true) include("createConsts.js") createConsts("HackerStatus", "hacker point's status", { HackerStatusLive : "hacker live", HackerStatusDead : "Hacker dead(not on line)", HackerStatusBan : "hacker has been ban", HackerStatusReadCheckEmail : "ready to check email" }) //.
P2PHelperFacotry create p2p healper.
PointInfoMgrFactory the factory to product PointInfoMgrItf.