Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Entrypoint ¶
func Entrypoint(args LaunchArgs) int
Entrypoint implements the actual functionality of the program so it can be called inline from testing. env is normally passed the environment variable array.
Types ¶
type LaunchArgs ¶
type Options ¶
type Options struct { Logging struct { Level string `help:"logging level" default:"warning"` Format string `help:"logging format (${enum})" enum:"console,json" default:"console"` } `embed:"" prefix:"logging."` Config string `help:"File to load config from" default:"proxyreverse.yml"` Assets assets.Config `embed:"" prefix:"assets." help:"configure embedded asset handling"` Version bool `help:"Print the version and exit"` ReverseProxy server.ServerCommand `cmd:"" help:"Start proxyreverse server"` DumpConfig struct{} `cmd:"" help:"Dump active configuration"` }
Click to show internal directories.
Click to hide internal directories.