Skip to content

Documentation / @agentick/gateway / GatewayPlugin

Interface: GatewayPlugin

Defined in: gateway/src/types.ts:188

Properties

id

id: string

Defined in: gateway/src/types.ts:190

Unique identifier for this plugin

Methods

destroy()?

optional destroy(): Promise<void>

Defined in: gateway/src/types.ts:194

Called when the plugin is removed or the gateway stops

Returns

Promise<void>


initialize()

initialize(ctx): Promise<void>

Defined in: gateway/src/types.ts:192

Called when the plugin is registered via gateway.use()

Parameters

ctx

PluginContext

Returns

Promise<void>

Released under the ISC License.