Documentation ¶
Index ¶
- Constants
- type Metrics
- type Network
- type V10
- func (v10 *V10) BroadcastFlag() string
- func (v10 *V10) DeliverMessage(target string, payload []byte)
- func (v10 *V10) FullBroadcastFlag() string
- func (v10 *V10) Init(name, port, seed string, bcast int) (func(), error)
- func (v10 *V10) Metrics() Metrics
- func (v10 *V10) Name() string
- func (v10 *V10) Peers() []string
- func (v10 *V10) RandomFlag() string
- func (v10 *V10) ReadMessage() (string, []byte)
- func (v10 *V10) Start()
- type V9
- func (v9 *V9) BroadcastFlag() string
- func (v9 *V9) DeliverMessage(target string, payload []byte)
- func (v9 *V9) FullBroadcastFlag() string
- func (v9 *V9) Init(name, port, seed string, bcast int) (func(), error)
- func (v9 *V9) Metrics() Metrics
- func (v9 *V9) Name() string
- func (v9 *V9) Peers() []string
- func (v9 *V9) RandomFlag() string
- func (v9 *V9) ReadMessage() (string, []byte)
- func (v9 *V9) Start()
Constants ¶
View Source
const NetworkID = 0xf00b47
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
func (Metrics) BytesDownF ¶
type Network ¶
type V10 ¶
type V10 struct {
// contains filtered or unexported fields
}
func (*V10) BroadcastFlag ¶
func (*V10) DeliverMessage ¶
func (*V10) FullBroadcastFlag ¶
func (*V10) RandomFlag ¶
func (*V10) ReadMessage ¶
type V9 ¶
type V9 struct {
// contains filtered or unexported fields
}
func (*V9) BroadcastFlag ¶
func (*V9) DeliverMessage ¶
func (*V9) FullBroadcastFlag ¶
func (*V9) RandomFlag ¶
func (*V9) ReadMessage ¶
Click to show internal directories.
Click to hide internal directories.