services

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudflareDNS

type CloudflareDNS struct {
	Domain    string `json:"domain"`
	Subdomain string `json:"subdomain"`
	Token     string `json:"token"`
	// contains filtered or unexported fields
}

func (*CloudflareDNS) Setup

func (s *CloudflareDNS) Setup(params map[string]interface{}) error

func (*CloudflareDNS) Update

func (s *CloudflareDNS) Update(value *models.UpdaetValue) (result []models.UpdateResult, err error)

type DummyDNS

type DummyDNS struct {
}

func (*DummyDNS) Setup

func (d *DummyDNS) Setup(params map[string]interface{}) error

func (*DummyDNS) Update

func (d *DummyDNS) Update(v *models.UpdaetValue) (result []models.UpdateResult, err error)

type Service added in v1.1.0

type Service interface {
	Setup(config map[string]interface{}) error
	Update(value *models.UpdaetValue) ([]models.UpdateResult, error)
}

func GetService added in v1.1.0

func GetService(service string) Service

Jump to

Keyboard shortcuts

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