Documentation ¶
Index ¶
- Constants
- Variables
- func GetDomainForIP(rootDomain string, ip net.IP) string
- type APIError
- type AcquireCertificateRequest
- type CertificateResponse
- type Client
- func (c *Client) AcquireCertificate(ctx context.Context, request AcquireCertificateRequest) (*CertificateResponse, error)
- func (c *Client) GetOverview(ctx context.Context) (*OverviewResponse, error)
- func (c *Client) NewDNSChallengeProvider(ctx context.Context, id uuid.UUID, token string) *DNSChallengeProvider
- func (c *Client) RequestSubdomain(ctx context.Context) (*SubdomainResponse, error)
- func (c *Client) SetSubdomainACMEChallenge(ctx context.Context, req SubdomainACMEChallengeRequest) error
- type DNSChallengeProvider
- type OverviewResponse
- type SubdomainACMEChallengeRequest
- type SubdomainResponse
Constants ¶
View Source
const DynDirect string = "https://v1.dyn.direct/"
View Source
const (
ProviderZeroSSL = "zerossl"
)
Variables ¶
View Source
var ( ErrAccountCreationError = errors.New("account creation failed") ErrUnsupportedProvider = errors.New("unsupported provider") )
Functions ¶
Types ¶
type AcquireCertificateRequest ¶ added in v0.2.0
type CertificateResponse ¶ added in v0.2.0
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AcquireCertificate ¶ added in v0.2.0
func (c *Client) AcquireCertificate( ctx context.Context, request AcquireCertificateRequest, ) (*CertificateResponse, error)
func (*Client) GetOverview ¶
func (c *Client) GetOverview(ctx context.Context) (*OverviewResponse, error)
func (*Client) NewDNSChallengeProvider ¶ added in v0.2.0
func (*Client) RequestSubdomain ¶
func (c *Client) RequestSubdomain(ctx context.Context) (*SubdomainResponse, error)
func (*Client) SetSubdomainACMEChallenge ¶
func (c *Client) SetSubdomainACMEChallenge( ctx context.Context, req SubdomainACMEChallengeRequest, ) error
type DNSChallengeProvider ¶ added in v0.2.0
type DNSChallengeProvider struct {
// contains filtered or unexported fields
}
type OverviewResponse ¶
type OverviewResponse = internal.OverviewResponse
type SubdomainResponse ¶
type SubdomainResponse = internal.NewSubdomainResponse
Click to show internal directories.
Click to hide internal directories.