joker

package
v4.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 12 Imported by: 8

Documentation

Overview

Package joker implements a DNS provider for solving the DNS-01 challenge using joker.com.

Index

Constants

View Source
const (
	EnvAPIKey   = envNamespace + "API_KEY"
	EnvUsername = envNamespace + "USERNAME"
	EnvPassword = envNamespace + "PASSWORD"
	EnvDebug    = envNamespace + "DEBUG"
	EnvMode     = envNamespace + "API_MODE"

	EnvTTL                = envNamespace + "TTL"
	EnvPropagationTimeout = envNamespace + "PROPAGATION_TIMEOUT"
	EnvPollingInterval    = envNamespace + "POLLING_INTERVAL"
	EnvSequenceInterval   = envNamespace + "SEQUENCE_INTERVAL"
	EnvHTTPTimeout        = envNamespace + "HTTP_TIMEOUT"
)

Environment variables names.

Variables

This section is empty.

Functions

func NewDNSProvider

func NewDNSProvider() (challenge.ProviderTimeout, error)

NewDNSProvider returns a DNSProvider instance configured for Joker. Credentials must be passed in the environment variable JOKER_API_KEY.

func NewDNSProviderConfig

func NewDNSProviderConfig(config *Config) (challenge.ProviderTimeout, error)

NewDNSProviderConfig return a DNSProvider instance configured for Joker.

Types

type Config

type Config struct {
	Debug              bool
	APIKey             string
	Username           string
	Password           string
	APIMode            string
	PropagationTimeout time.Duration
	PollingInterval    time.Duration
	SequenceInterval   time.Duration
	TTL                int
	HTTPClient         *http.Client
}

Config is used to configure the creation of the DNSProvider.

func NewDefaultConfig

func NewDefaultConfig() *Config

NewDefaultConfig returns a default configuration for the DNSProvider.

Directories

Path Synopsis
internal
dmapi
Package dmapi Client for DMAPI joker.com.
Package dmapi Client for DMAPI joker.com.
svc
Package svc Client for the SVC API.
Package svc Client for the SVC API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL