Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Boot ¶
type Boot interface { Start() Stop() All() []*BootLinkPeer }
type BootLinkPeer ¶
type HandShaker ¶
type Msg ¶
type Msg struct { T common.NetMsgType // type: 2~100 basic msg 101~200:biz msg Data []byte }
type P2P ¶
type P2PLifecycle ¶
type P2PLifecycle struct {
common.LifecycleStatus
}
0:origin 1: initing 2:inited 3:starting 4:started 5:stopping 6:stopped
Click to show internal directories.
Click to hide internal directories.