sims

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simulation

type Simulation interface {
	io.Closer
	GetState() simulationState
	SetConfig(vals map[string]interface{}) error
	NewFrame(size int) *data.Frame
	GetValues(t time.Time) map[string]interface{}
}

type SimulationEngine

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

func NewSimulationEngine

func NewSimulationEngine() (*SimulationEngine, error)

func (*SimulationEngine) GetSimulationHandler

func (s *SimulationEngine) GetSimulationHandler(rw http.ResponseWriter, req *http.Request)

func (*SimulationEngine) Lookup

func (s *SimulationEngine) Lookup(info simulationState) (Simulation, error)

func (*SimulationEngine) PublishStream

func (*SimulationEngine) QueryData

func (*SimulationEngine) RunStream

func (*SimulationEngine) SubscribeStream

Jump to

Keyboard shortcuts

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