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) 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 struct {
ServiceName string `json:"service_name,omitempty"`
BuildInfo *buildinfo.Info `json:"build_info,omitempty"`
StartedAt time.Time `json:"started_at"`
DmsgAddr string `json:"dmsg_address,omitempty"`
DmsgServers []string `json:"dmsg_servers,omitempty"`
}
HealthCheckResponse is struct of /health endpoint
Click to show internal directories.
Click to hide internal directories.