Documentation ¶
Index ¶
- type Link
- func (this *Link) CloseConn()
- func (this *Link) GetAddr() string
- func (this *Link) GetConn() net.Conn
- func (this *Link) GetID() common.PeerId
- func (this *Link) GetRXTime() time.Time
- func (this *Link) Rx()
- func (this *Link) Send(msg types.Message) error
- func (this *Link) SendRaw(rawPacket []byte) error
- func (this *Link) SetAddr(addr string)
- func (this *Link) SetChan(msgchan chan *types.MsgPayload)
- func (this *Link) SetConn(conn net.Conn)
- func (this *Link) SetID(id common.PeerId)
- func (this *Link) UpdateRXTime(t time.Time)
- func (this *Link) Valid() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.