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.
def SetupInternal(
ctx: context.Context,
sc: *stdlibapp.SetupContext
) - > error
Registers the data plane InternalAppService on the SetupContext mux. This function must be called before Setup so that the proxy can reach /internal/... on the same mux.
Parameters
| Name | Type | Description |
|---|---|---|
| ctx | context.Context | The context for the operation, typically used for cancellation or timeouts. |
| sc | *stdlibapp.SetupContext | The setup context which provides the mux where the InternalAppService will be registered. |
Returns
| Type | Description |
|---|---|
error | An error if the setup fails, otherwise nil. |