Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACME ¶
type ACME struct { Email string Domains []Domain StorageFile string OnDemand bool CAServer string EntryPoint string // contains filtered or unexported fields }
ACME allows to connect to lets encrypt and retrieve certs
type Account ¶
type Account struct { Email string Registration *acme.RegistrationResource PrivateKey []byte DomainsCertificate DomainsCertificates }
Account is used to store lets encrypt registration info
func (Account) GetPrivateKey ¶
func (a Account) GetPrivateKey() crypto.PrivateKey
GetPrivateKey returns private key
func (Account) GetRegistration ¶
func (a Account) GetRegistration() *acme.RegistrationResource
GetRegistration returns lets encrypt registration resource
type Certificate ¶
type Certificate struct { Domain string CertURL string CertStableURL string PrivateKey []byte Certificate []byte }
Certificate is used to store certificate info
type DomainsCertificate ¶
type DomainsCertificate struct { Domains Domain Certificate *Certificate // contains filtered or unexported fields }
DomainsCertificate contains a certificate for multiple domains
type DomainsCertificates ¶
type DomainsCertificates struct { Certs []*DomainsCertificate // contains filtered or unexported fields }
DomainsCertificates stores a certificate for multiple domains
Click to show internal directories.
Click to hide internal directories.