Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶ added in v2.0.14
func Setup(ctx context.Context, sc *stdlibapp.SetupContext) error
Setup registers the control plane AppService handler on the SetupContext mux. In unified mode (sc.BaseURL set), the proxy routes to InternalAppService on the same mux via the /internal prefix — no network hop. In split mode, cfg.InternalAppServiceURL points at the data plane host.
func SetupInternal ¶ added in v2.0.14
func SetupInternal(ctx context.Context, sc *stdlibapp.SetupContext) error
SetupInternal registers the data plane InternalAppService on the SetupContext mux. It must be called before Setup so the proxy can reach /internal/... on the same mux.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.