cloudflare

package
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudflareService

func NewCloudflareService(log logger.Logger, cfg *config.CloudflareConfig, postgres *repository.Repositories) interfaces.CloudflareService

NewCloudflareService initializes the CloudflareService

Types

type DNSConfig

type DNSConfig struct {
	RecordType string
	Name       string
	Content    string
	Proxied    bool
	TTL        int
	Priority   *int
}

type DNSResponse

type DNSResponse struct {
	Success bool                   `json:"success"`
	Result  []interfaces.DNSRecord `json:"result"`
}

Jump to

Keyboard shortcuts

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