exsozu v0.3.0 ExSozu.Command View Source
Provides a set of helpers to prepare commands for Sōzu.
If you can’t find a command in this list, you can create one like this:
%ExSozu.Command{
type: <type (must be an atom)>,
proxy_id: <the proxy id, if any>,
data: <whatever needs to be send>
}
You can then send it using ExSozu.command/1
.
Checkout the Sōzu documentation for more info.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %ExSozu.Command{data: nil | map(), id: String.t(), proxy_id: nil | integer(), type: atom(), version: 0}
Link to this section Functions
Link to this function
add_https_front(app_id, host, path_begin, fingerprint, opts \\ [])
View Source
Link to this function
remove_https_front(app_id, host, path_begin, fingerprint, opts \\ [])
View Source