Documentation

Overview

    Package dynamiccert provides a simple way of communicating a dynamically updating PEM-encoded certificate and key.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Provider

    type Provider interface {
    	dynamiccertificates.CertKeyContentProvider
    	Set(certPEM, keyPEM []byte)
    }

      Provider provides a getter, CurrentCertKeyContent(), and a setter, Set(), for a PEM-formatted certificate and matching key.

      func New

      func New() Provider

        New returns an empty Provider. The returned Provider is thread-safe.

        Source Files