Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
httpfly
command
|
|
|
internal
|
|
|
cli
Package cli wires httpfly's command-line arguments to its subcommands.
|
Package cli wires httpfly's command-line arguments to its subcommands. |
|
client
Package client sends httpfile.Request values over HTTP.
|
Package client sends httpfile.Request values over HTTP. |
|
env
Package env loads named variable sets from an httpfly.env.json file, so the same .http file can target different backends (dev, staging, prod, ...) without editing it -- select one with "-env <name>".
|
Package env loads named variable sets from an httpfly.env.json file, so the same .http file can target different backends (dev, staging, prod, ...) without editing it -- select one with "-env <name>". |
|
httpfile
Package httpfile defines the domain types produced by parsing an .http file.
|
Package httpfile defines the domain types produced by parsing an .http file. |
|
interpolate
Package interpolate substitutes "{{name}}" placeholders with variable values.
|
Package interpolate substitutes "{{name}}" placeholders with variable values. |
|
parser
Package parser turns .http file content into httpfile.File values.
|
Package parser turns .http file content into httpfile.File values. |
|
script
Package script runs a request's pre-/post-request Lua scripts, giving them a small object model (client.global, response) plus file-read and command-exec capabilities via github.com/vadv/gopher-lua-libs.
|
Package script runs a request's pre-/post-request Lua scripts, giving them a small object model (client.global, response) plus file-read and command-exec capabilities via github.com/vadv/gopher-lua-libs. |
|
state
Package state persists variables scripts set via "client.global" across separate "httpfly run" invocations, so e.g.
|
Package state persists variables scripts set via "client.global" across separate "httpfly run" invocations, so e.g. |
Click to show internal directories.
Click to hide internal directories.