Docs.rs
pingap-location-0.11.0
pingap-location 0.11.0
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
vicanso
Dependencies
ahash ^0.8.11
normal
arc-swap ^1.7.1
normal
http ^1.3.1
normal
once_cell ^1.21.3
normal
pingap-config ^0.11.0
normal
pingap-core ^0.11.0
normal
pingora ^0.5.0
normal
regex ^1.11.1
normal
snafu ^0.8.5
normal
substring ^1.4.5
normal
tokio ^1.44.2
normal
tracing ^0.1.41
normal
bytesize ^2.0.1
dev
pretty_assertions ^1.4.0
dev
tokio-test ^0.4.4
dev
Versions
50%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
pingap_
location
0.11.0
All Items
Crate Items
Structs
Enums
Functions
Crate
pingap_location
Copy item path
Source
Structs
§
Location
Location represents a routing configuration for handling HTTP requests. It defines rules for matching requests based on paths and hosts, and specifies how these requests should be processed and proxied.
Enums
§
Error
Functions
§
get_
location
Gets a location configuration by name from the global location map.
get_
locations_
processing
Gets a map of current request processing counts for all locations.
try_
init_
locations
Initializes or updates the global location configurations Returns list of location names that were updated