type
PluginTransportContext
Initialized application state supplied while a plugin binds transports.
Properties
| Property | Type | Description |
|---|---|---|
Manifest | schema.Manifest | The immutable resolved schema manifest. |
Snapshot | schema.Snapshot | Snapshot is the resolved schema the operation engine runs on. It is shared, read-only state: a transport must not modify it, and reading it reuses the engine's block definition views instead of binding another copy. |
Local | *LocalAPI | The ordinary access-controlled local operation API. |
App | *App | The fully initialized application, including authentication services. |
Full signature
type PluginTransportContext struct {
Manifest schema.Manifest
// Snapshot is the resolved schema the operation engine runs on. It is shared,
// read-only state: a transport must not modify it, and reading it reuses the
// engine's block definition views instead of binding another copy.
Snapshot schema.Snapshot
Local *LocalAPI
// App exposes public authentication and other application-owned operations
// that do not belong to LocalAPI. It is fully initialized before binding.
App *App
}