API Reference wayfarer v#0.6.4
View SourceModules
The Wayfarer DSL for defining static proxy configurations.
The struct for storing configurations as generated by the DSL.
A struct for storing a health-check generated by the DSL.
A struct for storing a group of health-checks generated by the DSL.
A struct for storing a host pattern generated by the DSL.
A struct for storing a group of host patterns generated by the DSL.
A struct for storing a listener generated by the DSL.
A struct for storing a group of listeners generated by the DSL.
A struct for storing a target generated by the DSL.
A struct for storing a group of targets generated by the DSL.
The Transformer for the Wayfarer DSL extension.
A GenServer which manages the state of each Bandit listener.
Wayfarer's routing is implemented on top of an ETS table to allow for fast querying and easy mutation.
A GenServer which manages a proxy.
Plug pipeline to handle inbound HTTP connections.
Uses Mint to convert a Plug connection into an outgoing HTTP request to a specific target.
When a connection is upgraded to a websocket, we switch from handing via
Plug to WebSock via WebSockAdapter.
A GenServer responsible for performing health-checks against HTTP and HTTPS targets.
A simple ETS table that tracks active connections to a given target.
A GenServer which represents a single check to an HTTP endpoint.
Given a list of targets and an algorithm decide which target the request should be forwarded to.
A simple ETS table that tracks the total number of requests for each target.
Wayfarer emits a number of telemetry events and spans on top of the excellent
telemetry events emitted by Bandit.Telemetry.
A grab-bag of useful functions which are used all over the codebase.