Crate pdk_core

Crate pdk_core 

Source
Expand description

PDK Core

This crate contains functionality that is specific for Flex Gateway. It does not apply for all proxy_wasm hosts.

Re-exports§

pub use crate::log as logger;
pub use classy;

Modules§

client
Tools to generate and parse service names.
host
Tools to enrich the context with Flex specific metadata.
init
Initialization functions.
log
Wrapper of the log package to enrich log messages with policy and request metadata.
policy_context
Policy context related APIs to access Flex policy data.

Attribute Macros§

entrypoint
Use this macro to annotate the configuration function for you custom policy.