configbindfixture

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSConfig

type TLSConfig struct {
	Enabled  bool   `default:"false" help:"enable TLS"`
	CertPath string `help:"TLS certificate path"`
}

TLSConfig is nested under webserver.tls.

type WebServerConfig

type WebServerConfig struct {
	Port        int      `default:"8080" help:"HTTP listen port" opt:"port,p"`
	Host        string   `default:"localhost" help:"listen host"`
	CorsOrigins []string `help:"CORS origins"`
	TLS         TLSConfig
}

WebServerConfig is a Bind-style config used by generator and load tests.

func Register

func Register() *WebServerConfig

Register returns Bind handles for Load tests (discovered by tinybind-gen).

Jump to

Keyboard shortcuts

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