Documentation
¶
Overview ¶
Package link lets SDK packages reach what public types keep private: the node behind a deps.Scope. deps installs the accessor at init.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var APIs struct { GRPC func(opts any) routes.Managed HTTP func(opts any) routes.Managed WS func(opts any) routes.Managed }
APIs extracts what the public api package keeps private.
var ConfigState func(rt any) configrt.State
ConfigState returns the SDK view of a *config.Runtime[C].
MountWS serves a ws-proto endpoint on a *backplane.Service.
var NodeOf func(scope any) *node.Node
NodeOf returns the node a deps.Scope wraps, or nil for a zero scope.
var Scope func(n *node.Node) any
Scope wraps a node as a deps.Component; the SDK uses it for the root.
var SetLive func(live, v any) error
SetLive applies and sets a *config.Live[T] to v (backplanetest).
Functions ¶
This section is empty.
Types ¶
This section is empty.