app

package
v0.17.7 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, options Options) error

Run handles the RTCBench CLI, serving the API and bundled app when no config is given It reads <data>/rtcbench.yml and stops on context cancellation or an interrupt

Types

type Options

type Options struct {
	Examples fs.FS
	// Deployments supplies optional deployment support for plugins
	Deployments []deployment.Plugin
	Version     string
	// Web serves a frontend built and embedded by the caller
	Web fs.FS
	// Plugins supplies plugin.yml manifests for the plugins compiled into the binary
	Plugins fs.FS
	// Register adds plugins and scenarios to each new client, including API runs
	// It may be called concurrently, so register factories rather than shared instances
	Register func(*core.Client)
}

Jump to

Keyboard shortcuts

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