acme

package
v1.0.0-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManager

func NewManager(cfg *config.Config, c cache.Cache) certs.Manager

NewManager creates a new instance

Types

type AcmeManager

type AcmeManager struct {
	// contains filtered or unexported fields
}

func (*AcmeManager) Cache

func (a *AcmeManager) Cache() cache.Cache

func (*AcmeManager) GetCertificate

func (a *AcmeManager) GetCertificate(hello *tls.ClientHelloInfo) (*tls.Certificate, error)

GetCertificate wrapper for the cert getter

func (*AcmeManager) ServeHTTP

func (a *AcmeManager) ServeHTTP(fallback http.Handler, w http.ResponseWriter, r *http.Request)

ServeHTTP is serving the Acme challange responses

func (*AcmeManager) TLSConfig

func (a *AcmeManager) TLSConfig() *tls.Config

TLSConfig

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL