app

package
v0.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *config.Config, opts ...fx.Option) *fx.App

New constructs a tunnel-client Fx app using the shared wiring plus any extra options.

func NewWithRuntime

func NewWithRuntime(cfg *config.Config, runtime RuntimeOptions, opts ...fx.Option) *fx.App

NewWithRuntime constructs a tunnel-client Fx app with explicit runtime surface controls plus any extra options.

func Options

func Options(cfg *config.Config, opts ...fx.Option) []fx.Option

Options returns the Fx options required to wire the tunnel-client services. Additional Fx options can be provided to customize the runtime.

func OptionsWithRuntime

func OptionsWithRuntime(cfg *config.Config, runtime RuntimeOptions, opts ...fx.Option) []fx.Option

OptionsWithRuntime returns the Fx options required to wire the tunnel-client services with explicit runtime surface controls.

Types

type RuntimeOptions

type RuntimeOptions struct {
	// DisableHealthAdmin omits the local health/admin HTTP listener. The normal
	// tunnel-client binary should leave this false; local test embedders can set
	// it when they only need the control-plane poller and MCP dispatcher.
	DisableHealthAdmin bool
}

RuntimeOptions controls optional app surfaces for embedders.

Jump to

Keyboard shortcuts

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