# README
web package
This package can be used by Prometheus exporters to enable TLS and authentication.
We actively encourage the community to use this repository, to provide a consistent experience across the ecosystem.
Developers documentation can be found on pkg.go.dev.
# Packages
Copyright 2020 The Prometheus Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
# Functions
ConfigToTLSConfig generates the golang tls.Config from the TLSConfig struct.
Listen starts the server on the given address.
ListenAndServe starts the server on addresses given in WebListenAddresses in the FlagConfig or instead uses systemd socket activated listeners if WebSystemdSocket in the FlagConfig is true.
No description provided by the author
Server starts the server on the given listener.
ServeMultiple starts the server on the given listeners.
Validate configuration file by reading the configuration and the certificates.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Config represents the configuration of the web listener.
LandingForm provides a configuration struct for creating a POST form on the landing page.
LandingFormInput represents a single form input field.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author