Crate pingap_config

Source

Structs§

BasicConf
Basic configuration options for the application
CertificateConf
Configuration struct for TLS/SSL certificates
EtcdStorage
FileStorage
LoadConfigOptions
LocationConf
Configuration for a location/route that handles incoming requests
Observer
PingapConf
ServerConf
Configuration for a server instance that handles incoming HTTP/HTTPS requests
StorageConf
UpstreamConf
Configuration for an upstream service that handles proxied requests

Enums§

Error
PluginCategory

Constants§

CATEGORY_BASIC
CATEGORY_CERTIFICATE
CATEGORY_LOCATION
CATEGORY_PLUGIN
CATEGORY_SERVER
CATEGORY_STORAGE
CATEGORY_UPSTREAM
ETCD_PROTOCOL

Traits§

ConfigStorage

Functions§

get_config_hash
Get current running pingap’s config crc hash
get_config_storage
get_current_config
Get the running pingap config.
load_config
read_all_toml_files
save_config
set_current_config
Set current config of pingap.
support_observer
sync_config
sync_to_path
try_init_config_storage
Initializes the configuration storage system if it hasn’t been initialized yet

Type Aliases§

PluginConf