Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestRouter ¶
func NewTestRouter ¶
func NewTestRouter(loss float32) *TestRouter
func (*TestRouter) Flush ¶
func (grouter *TestRouter) Flush()
func (*TestRouter) RemovePeer ¶
func (grouter *TestRouter) RemovePeer(peer mesh.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 mesh.GossipData)
func (TestRouterClient) GossipUnicast ¶
func (client TestRouterClient) GossipUnicast(dstPeerName mesh.PeerName, buf []byte) error
Click to show internal directories.
Click to hide internal directories.