Versions in this module Expand all Collapse all v0 v0.6.1 Jan 21, 2020 Changes in this version + type Link struct + func NewLink() *Link + func (this *Link) CloseConn() + func (this *Link) GetAddr() string + func (this *Link) GetConn() net.Conn + func (this *Link) GetID() uint64 + func (this *Link) GetPort() uint16 + 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 uint64) + func (this *Link) SetPort(p uint16) + func (this *Link) UpdateRXTime(t time.Time) + func (this *Link) Valid() bool