Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestRouter ¶
type TestRouter struct {
// contains filtered or unexported fields
}
func NewTestRouter ¶
func NewTestRouter(loss float32) *TestRouter
func (*TestRouter) Flush ¶
func (grouter *TestRouter) Flush()
func (*TestRouter) RemovePeer ¶
func (grouter *TestRouter) RemovePeer(peer router.PeerName)
func (*TestRouter) Stop ¶
func (grouter *TestRouter) Stop()
type TestRouterClient ¶
type TestRouterClient struct {
// contains filtered or unexported fields
}
func (TestRouterClient) GossipBroadcast ¶
func (client TestRouterClient) GossipBroadcast(update router.GossipData) error
func (TestRouterClient) GossipUnicast ¶
func (client TestRouterClient) GossipUnicast(dstPeerName router.PeerName, buf []byte) error
Click to show internal directories.
Click to hide internal directories.