Documentation
¶
Overview ¶
Package legacy is a listener hello serves itself, outside the SDK's public port: the service announces it with a declarative route (svc.API(api.HTTP(...))) so its API appears in the catalog.
Index ¶
Constants ¶
View Source
const Prefix = "/legacy/"
Prefix is what the legacy listener serves.
Variables ¶
View Source
var API []byte
API describes the response served by this listener.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Listen address. Keep its port stable across restarts and replicas:
// declarative routes are part of the immutable per-version manifest.
Listen string `json:"listen" schemapb:"default=:8083"`
}
Config of the listener.
Click to show internal directories.
Click to hide internal directories.