Documentation
¶
Index ¶
- func GenerateSSL(domain string) error
- func GetPrivateKey(priKey crypto.PrivateKey) []byte
- type AcmeClient
- func (c *AcmeClient) GetDNSResolve(domains []string) (map[string]Resolve, error)
- func (c *AcmeClient) ObtainSSL(domains []string) (certificate.Resource, error)
- func (c *AcmeClient) RenewSSL(certUrl string) (certificate.Resource, error)
- func (c *AcmeClient) UseDns(dnsType DnsType, params string) error
- func (c *AcmeClient) UseHTTP(path string) error
- func (c *AcmeClient) UseManualDns() error
- type AcmeUser
- type DNSParam
- type DnsType
- type Resolve
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSSL ¶ added in v1.2.0
func GetPrivateKey ¶
func GetPrivateKey(priKey crypto.PrivateKey) []byte
Types ¶
type AcmeClient ¶
func NewAcmeClient ¶
func NewAcmeClient(email, privateKey string) (*AcmeClient, error)
func NewPrivateKeyClient ¶
func NewPrivateKeyClient(email string, privateKey string) (*AcmeClient, error)
func NewRegisterClient ¶
func NewRegisterClient(email string) (*AcmeClient, error)
func (*AcmeClient) GetDNSResolve ¶
func (c *AcmeClient) GetDNSResolve(domains []string) (map[string]Resolve, error)
func (*AcmeClient) ObtainSSL ¶
func (c *AcmeClient) ObtainSSL(domains []string) (certificate.Resource, error)
func (*AcmeClient) RenewSSL ¶
func (c *AcmeClient) RenewSSL(certUrl string) (certificate.Resource, error)
func (*AcmeClient) UseHTTP ¶
func (c *AcmeClient) UseHTTP(path string) error
func (*AcmeClient) UseManualDns ¶
func (c *AcmeClient) UseManualDns() error
type AcmeUser ¶
type AcmeUser struct { Email string Registration *registration.Resource Key crypto.PrivateKey }
func (*AcmeUser) GetPrivateKey ¶
func (u *AcmeUser) GetPrivateKey() crypto.PrivateKey
func (*AcmeUser) GetRegistration ¶
func (u *AcmeUser) GetRegistration() *registration.Resource
Click to show internal directories.
Click to hide internal directories.