Documentation
¶
Overview ¶
Package njalla provides a Caddy DNS provider module for Njalla, wrapping the libdns implementation at github.com/libdns/njalla.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct{ *libdnsnjalla.Provider }
Provider wraps the Njalla libdns provider as a Caddy module.
func (Provider) CaddyModule ¶
func (Provider) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Provider) Provision ¶
Provision resolves placeholders in the API token before it is used. Implements caddy.Provisioner.
func (*Provider) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Two syntaxes are supported:
njalla <api_token>
njalla {
api_token <api_token>
}
Placeholders such as {env.NJALLA_API_TOKEN} are resolved during provisioning.
Click to show internal directories.
Click to hide internal directories.