usp_simulator

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimulatorAdapter

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

func NewSimulatorAdapter

func NewSimulatorAdapter(conf SimulatorConfig) (*SimulatorAdapter, chan struct{}, error)

func (*SimulatorAdapter) Close

func (a *SimulatorAdapter) Close() error

type SimulatorConfig

type SimulatorConfig struct {
	ClientOptions  uspclient.ClientOptions `json:"client_options" yaml:"client_options"`
	Reader         io.ReadCloser           `json:"-" yaml:"-"`
	FilePath       string                  `json:"file_path" yaml:"file_path"`
	IsReplayTiming bool                    `json:"is_replay_timing" yaml:"is_replay_timing"`
}

func (*SimulatorConfig) Validate

func (c *SimulatorConfig) Validate() error

Jump to

Keyboard shortcuts

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