Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
RegisterRoutes registers the shared daemon API routes on the supplied router.
Types ¶
type Option ¶
type Option func(*Server)
Option customizes HTTP server construction.
func WithDevProxyTarget ¶
WithDevProxyTarget enables development fallback proxying to a Vite server.
func WithEngine ¶
WithEngine overrides the Gin engine used by the server.
func WithHandlers ¶
WithHandlers injects the shared transport handlers.
func WithPortUpdater ¶
func WithPortUpdater(updater PortUpdater) Option
WithPortUpdater persists the selected port after the listener binds.
type PortUpdater ¶
PortUpdater persists the selected HTTP port in daemon state.
Click to show internal directories.
Click to hide internal directories.