Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{ *dnsmadeeasy.Provider }
Provider wraps the provider implementation as a Caddy module.
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Provider) Provision ¶
Before using the provider config, resolve placeholders in the API token. Implements caddy.Provisioner.
func (*Provider) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:
dnsmadeeasy { api_key <api_key> secret_key <secret_key> api_endpoint https://api.dnsmadeeasy.com/V2.0/ } api_endpoint is optional, and points to the Production endpoint by default valid endpoints can be found at: https://github.com/John-K/dnsmadeeasy/blob/v1.0.0/client.go#L24-L27
Expansion of placeholders is left to the JSON config caddy.Provisioner (above).
Click to show internal directories.
Click to hide internal directories.