package
2.5.2
Repository: https://github.com/threefx/caddy.git
Documentation: pkg.go.dev

# Packages

Package main is the entry point of the Caddy application.

# Functions

AdminAPIRequest makes an API request according to the CLI flags given, with the given HTTP method and request URI.
CaddyVersion returns a detailed version string, if available.
Commands returns a list of commands initialised by RegisterCommand.
DetermineAdminAPIAddress determines which admin API endpoint address should be used based on the inputs.
LoadConfig loads the config from configFile and adapts it using adapterName.
Main implements the main function of the caddy command.
RegisterCommand registers the command cmd.

# Structs

Command represents a subcommand.
Flags wraps a FlagSet so that typed values from flags can be easily retrieved.

# Type aliases

CommandFunc is a command's function.