# Functions
Configure is a one-stop shopping function for preparing WebPA configuration.
ConfigureFlagSet adds the standard set of WebPA flags to the supplied FlagSet.
ConfigureViper configures a Viper instances using the opinionated WebPA settings.
Initialize handles the bootstrapping of the server code for a WebPA node.
ListenAndServe invokes the appropriate server method based on the secure information.
NewConnectionStateLogger produces a function appropriate for http.Server.ConnState.
NewErrorLog creates a new logging.Logger appropriate for http.Server.ErrorLog.
# Constants
AlternateSuffix is the suffix appended to the server name, along with a period (.), for logging information pertinent to the alternate server.
DefaultHealthAddress is the bind address of the health check server.
DefaultHealthLogInterval is the interval at which health statistics are emitted when a non-positive log interval is specified.
DefaultLogConnectionState is the default setting for logging connection state messages.
DefaultPrimaryAddress is the bind address of the primary server (e.g.
FileFlagName is the name of the command-line flag for specifying an alternate configuration file for Viper to hunt for.
FileFlagShorthand is the command-line shortcut flag for FileFlagName.
HealthSuffix is the suffix appended to the server name, along with a period (.), for logging information pertinent to the health server.
PprofSuffix is the suffix appended to the server name, along with a period (.), for logging information pertinent to the pprof server.
# Variables
ErrorNoPrimaryAddress is the error returned when no primary address is specified in a WebPA instance.
# Interfaces
Secure exposes the optional certificate information to be used when starting an HTTP server.