domain

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFlareService

type CloudFlareService struct {
	CLOUDFLARE_API_TOKEN string
}

func NewCloudFlareService

func NewCloudFlareService() *CloudFlareService

func (*CloudFlareService) CheckEnv

func (c *CloudFlareService) CheckEnv() error

func (*CloudFlareService) SetRecord

func (c *CloudFlareService) SetRecord(in *SetRecordRequest) (out *SetRecordResponse, err error)

type DNSProvider

type DNSProvider interface {
	SetRecord(in *SetRecordRequest) (out *SetRecordResponse, err error)
}

func New

func New(domain string) DNSProvider

type SetRecordRequest

type SetRecordRequest struct {
	Subdomain string
	Ipaddress string
}

type SetRecordResponse

type SetRecordResponse struct {
}

Jump to

Keyboard shortcuts

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