Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Peer ¶
type Peer struct {
// contains filtered or unexported fields
}
Peer holds state about an executing Peer
func (*Peer) GetPeerPriv ¶
GetPeerPriv returns the Peer private key.
func (*Peer) GetTestbed ¶
GetTestbed returns the testbed.
func (*Peer) GetTransportController ¶
func (p *Peer) GetTransportController() *transport_controller.Controller
GetTransportController returns the transport controller.
type Simulator ¶
type Simulator struct {
// contains filtered or unexported fields
}
Simulator manages state for all simulated machines.
func NewSimulator ¶
NewSimulator constructs a new sim.
Click to show internal directories.
Click to hide internal directories.