interface
TransportProvider
Bind an established application-level protocol once at startup.
Properties
| Property | Type | Description |
|---|---|---|
Plugin | Plugin | The Plugin value. |
BindTransports | func(PluginTransportContext) ([]Endpoint, | The BindTransports value. |
How it works
For absolute protocol paths such as /api/graphql, not ordinary plugin endpoints. Binding receives the immutable manifest, LocalAPI, and fully initialized App; do not rebuild schemas per request.
Full signature
type TransportProvider interface {
Plugin
BindTransports(PluginTransportContext) ([]Endpoint, error)
}