Crate spacegate_plugin

Crate spacegate_plugin 

Source

Re-exports§

pub use error::PluginError;
pub use serde_json;
pub use spacegate_model;

Modules§

error
ext
instance
layer
model
mount
plugins

Macros§

plugin_meta

Structs§

BoxLayer
A boxed Layer that can be used as a plugin layer in gateway.
Inner
A shared hyper service wrapper
PluginAttributes
PluginConfig
PluginDefinitionObject
Plugin Trait Object
PluginInstanceId
PluginInstanceMap
PluginMetaData
Plugin meta information
PluginRepoSnapshot
PluginRepository
Plugin Repository
SerdeJsonError
This type represents all possible errors that can occur when serializing or deserializing JSON data.
SgBody
Clone

Enums§

JsonValue
Represents any valid JSON value.
PluginInstanceName

Traits§

Plugin
Plugin Trait
SgRequestExt
Provides extension methods for Request.
SgResponseExt
Provides extension methods for Response.

Type Aliases§

BoxError
A boxed error.
MakePfMethod
Plugin function maker, which received a PluginConfig and return a [InnerBoxPf]
SgRequest
Alias for a request with a boxed body.
SgResponse
Alias for a response with a boxed body.