Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SiteFQDN string TemplateFile string ClientCertName string ClientCAPool *x509.CertPool UseStaging bool }
Config contains the configuration forht the mTLS server instance.
type MTLSServer ¶
type MTLSServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config) (*MTLSServer, error)
New create a mTLS server with an ACME certificate manager.
func (*MTLSServer) ListenAndServe ¶
func (m *MTLSServer) ListenAndServe()
ListenAndServe sets both the HTTP and HTTPS server to listen and serve
Click to show internal directories.
Click to hide internal directories.