Versions in this module Expand all Collapse all v4 v4.15.1 Feb 17, 2024 Changes in this version + var ErrNoARI = errors.New("renewalInfo[get/post]: server does not advertise a renewal info endpoint") + type AccountService service + func (a *AccountService) Deactivate(accountURL string) error + func (a *AccountService) Get(accountURL string) (acme.Account, error) + func (a *AccountService) New(req acme.Account) (acme.ExtendedAccount, error) + func (a *AccountService) NewEAB(accMsg acme.Account, kid, hmacEncoded string) (acme.ExtendedAccount, error) + func (a *AccountService) Update(accountURL string, req acme.Account) (acme.Account, error) + type AuthorizationService service + func (c *AuthorizationService) Deactivate(authzURL string) error + func (c *AuthorizationService) Get(authzURL string) (acme.Authorization, error) + type CertificateService service + func (c *CertificateService) Get(certURL string, bundle bool) ([]byte, []byte, error) + func (c *CertificateService) GetAll(certURL string, bundle bool) (map[string]*acme.RawCertificate, error) + func (c *CertificateService) GetRenewalInfo(certID string) (*http.Response, error) + func (c *CertificateService) Revoke(req acme.RevokeCertMessage) error + func (c *CertificateService) UpdateRenewalInfo(req acme.RenewalInfoUpdateRequest) (*http.Response, error) + type ChallengeService service + func (c *ChallengeService) Get(chlgURL string) (acme.ExtendedChallenge, error) + func (c *ChallengeService) New(chlgURL string) (acme.ExtendedChallenge, error) + type Core struct + Accounts *AccountService + Authorizations *AuthorizationService + Certificates *CertificateService + Challenges *ChallengeService + HTTPClient *http.Client + Orders *OrderService + func New(httpClient *http.Client, userAgent, caDirURL, kid string, ...) (*Core, error) + func (a *Core) GetDirectory() acme.Directory + func (a *Core) GetKeyAuthorization(token string) (string, error) + type OrderOptions struct + NotAfter time.Time + NotBefore time.Time + type OrderService service + func (o *OrderService) Get(orderURL string) (acme.ExtendedOrder, error) + func (o *OrderService) New(domains []string) (acme.ExtendedOrder, error) + func (o *OrderService) NewWithOptions(domains []string, opts *OrderOptions) (acme.ExtendedOrder, error) + func (o *OrderService) UpdateForCSR(orderURL string, csr []byte) (acme.ExtendedOrder, error) Other modules containing this package github.com/ChintuIdrive/lego