Documentation ¶
Index ¶
- type 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) 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) Tx(msg types.Message) error
- 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.