Re-exports§
pub use error::PluginError;
pub use serde_json;
pub use spacegate_model;
Modules§
Macros§
Structs§
- BoxLayer
- A boxed
Layer
that can be used as a plugin layer in gateway. - Inner
- A shared hyper service wrapper
- Plugin
Attributes - Plugin
Config - Plugin
Definition Object - Plugin Trait Object
- Plugin
Instance Id - Plugin
Instance Map - Plugin
Meta Data - Plugin meta information
- Plugin
Repo Snapshot - Plugin
Repository - Plugin Repository
- Serde
Json Error - This type represents all possible errors that can occur when serializing or deserializing JSON data.
- SgBody
- Clone
Enums§
- Json
Value - Represents any valid JSON value.
- Plugin
Instance Name
Traits§
- Plugin
- Plugin Trait
- SgRequest
Ext - Provides extension methods for
Request
. - SgResponse
Ext - Provides extension methods for
Response
.
Type Aliases§
- BoxError
- A boxed error.
- Make
PfMethod - 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.