simulation

package
v0.0.0-...-02f1fe4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2019 License: LGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cfg *config.Config, logPrefix string)

Run starts the simulation.

Types

type PeerServer

type PeerServer struct {
	// contains filtered or unexported fields
}

PeerServer is the main object to collect results and monitor simulation.

func NewPeerServer

func NewPeerServer() *PeerServer

NewPeerServer returns a new PeerServer instance.

func (*PeerServer) Run

func (p *PeerServer) Run()

Run the simulation.

func (*PeerServer) Setup

func (p *PeerServer) Setup(
	cfg *config.Config) (serverEndpoint interface{}, err error)

Setup prepares simualtion.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL