Crate apate

Crate apate 

Source

Modules§

deceit
Deceit is the unit responsible for processing serveral status URIs or path patters. All deceit related logic is placed into this module.
jinja
matchers
Matchers are just specific checks to run against input HTTP request. In order to proceed forward all matches must return true.
output
This module responsibility is to build HTTP response message body
processors
rhai
test

Structs§

ApateConfig
ApateConfigBuilder
ApateCounters
ApateSpecs
ApateState
Shared state for apate web server.
RequestContext
ResourceRef
Represents resource path in the configuration. It’s just ids of the arrays we are iterating right now.

Constants§

DEFAULT_PORT
DEFAULT_RUST_LOG

Functions§

apate_init_server_config
Initialize server configuration with overrides. All arguments to this function will override configuration from ENV variables
apate_server_run
Create and run apate server based on input config.