Documentation
¶
Overview ¶
Package api pkg/deployment/rf/api/api.go c2-net-routing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API represents the api of the route-finder service.
func (*API) ShareTransportsFrom ¶ added in v1.3.99
ShareTransportsFrom builds the route graph from the live transport set of a TPD in this process writing to the redis at url, when there is one (see GraphCache.ShareFrom). Call before StartGraphCache.
func (*API) StartGraphCache ¶
StartGraphCache keeps one shared full-network graph warm in the background so route requests no longer each build a per-source graph by walking the store. Bound to ctx (the server lifecycle); until the first build lands, requests fall back to the per-source build. Call once at server start.
type HealthCheckResponse ¶
type HealthCheckResponse = httputil.HealthCheckResponse
HealthCheckResponse is the /health body every service shares.