sim

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientCommand

func NewClientCommand() *cobra.Command

func NewRootCommand

func NewRootCommand() *cobra.Command

func NewServerCommand

func NewServerCommand() *cobra.Command

func ReadScenario added in v0.19.0

func ReadScenario(file string) (*spec.ScenarioDoc, error)

func StartSimuServer added in v0.19.0

func StartSimuServer(ctx context.Context, addr string, simu *sim.Simulation) error

Types

type ConsoleHandler

type ConsoleHandler struct{}

func (ConsoleHandler) HandleMessage

func (c ConsoleHandler) HandleMessage(msg rpc.Message) error

Very similar to message handler

Jump to

Keyboard shortcuts

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