Versions in this module Expand all Collapse all v0 v0.5.3 Aug 27, 2017 v0.5.2 Jun 20, 2017 Changes in this version + var ErrACMEChallengeNotFound = errors.New("acme challenge not found") + var ErrACMEUserEmailInvalid = errors.New("acme user email invalid") + var ErrACMEUserNotFound = errors.New("acme user not found") + var ErrCertificateInvalid = errors.New("certificate invalid") + var ErrCertificateNotFound = errors.New("certificate not found") + var ErrFQDNExists = errors.New("fqdn exists") + var ErrFQDNInvalid = errors.New("fqdn invalid") + var ErrFQDNMissing = errors.New("fqdn missing") v0.5.1 Apr 1, 2017 v0.4.4 Mar 11, 2017 v0.4.3 Mar 9, 2017 v0.4.2 Mar 7, 2017 v0.4.1 Feb 18, 2017 v0.3.2 Jan 29, 2017 v0.3.1 Jan 6, 2017 v0.2.1 Nov 2, 2016 Changes in this version + type Getter interface + Certificate func(fqdn string) (c *Certificate, err error) v0.1.1 Oct 3, 2016 Changes in this version + var ACMEChallengeNotFound = NewError(1300, "acme challenge not found") + var ACMEUserEmailInvalid = NewError(1201, "acme user email invalid") + var ACMEUserNotFound = NewError(1200, "acme user not found") + var CertificateInvalid = NewError(1001, "certificate invalid") + var CertificateNotFound = NewError(1000, "certificate not found") + var ErrorRegistry = map[int]error + var FQDNExists = NewError(1102, "fqdn exists") + var FQDNInvalid = NewError(1101, "fqdn invalid") + var FQDNMissing = NewError(1100, "fqdn missing") + type ACMEChallenge struct + FQDN string + KeyAuth string + Token string + type ACMEChallengeOptions struct + KeyAuth *string + Token *string + type ACMEChallenges []ACMEChallenge + type ACMEChallengesPage struct + ACMEChallenges ACMEChallenges + Count int + Next string + Previous string + type ACMEService interface + ACMEChallenge func(fqdn string) (c *ACMEChallenge, err error) + ACMEChallenges func(start string, limit int) (page *ACMEChallengesPage, err error) + DeleteACMEChallenge func(fqdn string) (c *ACMEChallenge, err error) + IsCertificateBeingObtained func(fqdn string) (yes bool, err error) + ObtainCertificate func(fqdn string) (c *Certificate, err error) + UpdateACMEChallenge func(fqdn string, o *ACMEChallengeOptions) (c *ACMEChallenge, err error) + type ACMEUser struct + DirectoryURL string + Email string + ID int + NewAuthzURL string + PrivateKey []byte + URL string + type ACMEUserService interface + ACMEUser func() (u *ACMEUser, err error) + RegisterACMEUser func(directoryURL, email string) (u *ACMEUser, err error) + type Certificate struct + ACMEAccount string + ACMEURL string + ACMEURLStable string + Cert string + ExpirationTime *time.Time + FQDN string + Key string + type Certificates []Certificate + type CertificatesPage struct + Certificates Certificates + Count int + Next string + Previous string + type Error struct + Code int + Message string + func NewError(code int, message string) (err *Error) + func (e *Error) Error() string + type Info struct + ACMEAccount string + ACMEURL string + ACMEURLStable string + ExpirationTime *time.Time + FQDN string + type Infos []Info + type InfosPage struct + Count int + Infos Infos + Next string + Previous string + type ManagementService interface + Certificate func(fqdn string) (c *Certificate, err error) + Certificates func(start string, limit int) (page *CertificatesPage, err error) + CertificatesInfoByExpiry func(since time.Time, start string, limit int) (page *InfosPage, err error) + DeleteCertificate func(fqdn string) (c *Certificate, err error) + UpdateCertificate func(fqdn string, o *Options) (c *Certificate, err error) + type Options struct + ACMEAccount *string + ACMEURL *string + ACMEURLStable *string + Cert *string + Key *string + type Service interface