httpreq

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const HTTPREQ = providers.Type("httpreq")

Variables

This section is empty.

Functions

func Load added in v0.0.20

func Load(unmarshal providers.YAMLUnmarshaler, config_dir string) (providers.DNSProvider, error)

Types

type Config added in v0.0.31

type Config struct {
	Endpoint    string
	Username    string
	Password    string
	HTTPTimeout *int
}

type DNSProvider added in v0.0.31

type DNSProvider struct {
	Endpoint   *url.URL
	Username   string
	Password   string
	HTTPClient *http.Client
}

DNSProvider implements the challenge.Provider interface.

func FromConfig added in v0.0.64

func FromConfig(config Config) (*DNSProvider, error)

func (*DNSProvider) Close added in v0.0.64

func (d *DNSProvider) Close() error

func (*DNSProvider) CreateRecord added in v0.0.31

func (d *DNSProvider) CreateRecord(fqdn, value string) error

func (*DNSProvider) RemoveRecord added in v0.0.31

func (d *DNSProvider) RemoveRecord(fqdn, value string) error

Jump to

Keyboard shortcuts

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