Documentation
¶
Index ¶
- func New(cfg *config.Config, opts ...fx.Option) *fx.App
- func NewWithRuntime(cfg *config.Config, runtime RuntimeOptions, opts ...fx.Option) *fx.App
- func Options(cfg *config.Config, opts ...fx.Option) []fx.Option
- func OptionsWithRuntime(cfg *config.Config, runtime RuntimeOptions, opts ...fx.Option) []fx.Option
- type RuntimeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithRuntime ¶
NewWithRuntime constructs a tunnel-client Fx app with explicit runtime surface controls plus any extra options.
func Options ¶
Options returns the Fx options required to wire the tunnel-client services. Additional Fx options can be provided to customize the runtime.
func OptionsWithRuntime ¶
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.
Click to show internal directories.
Click to hide internal directories.