package
1.0.8
Repository: https://github.com/neuraltrust/trustgate.git
Documentation: pkg.go.dev

# Functions

EvaluateCondition evaluates a response condition against a value.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CacheConfig holds Redis configuration.
CacheKeys holds the standard cache key formats.
No description provided by the author
No description provided by the author
No description provided by the author
FieldMapper provides field mapping functionality for plugins.
FieldMapping defines how fields should be mapped from source to destination.
ForwardingRule represents a rule for forwarding requests.
Gateway represents a tenant's gateway configuration.
GatewayData combines gateway and its rules for caching.
No description provided by the author
PluginChain represents a sequence of plugins to be executed.
PluginConfig represents the configuration for a plugin.
Add PluginContext type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RateLimiterConfig represents the configuration for rate limiting.
RequestContext represents the context for a request.
ResponseCondition represents a condition for response validation.
ResponseContext represents the context for a response.
TTLEntry represents a cached entry with expiration.
TTLMap represents a thread-safe map with TTL.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Cache defines the caching interface.
RulesCacher defines the interface for caching rules.

# Type aliases

Level represents at which level the plugin is configured.
Stage represents when a plugin should be executed.