mycloudflare

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChkDnsRecord

func ChkDnsRecord(api *cloudflare.API, ctx context.Context, zoneID string, dnstype string, fullName string) bool

func ChkUser

func ChkUser() string

func CloudflarePurgeResult

func CloudflarePurgeResult(token string, fullname string, sub_dns_type string) string

func DomainExists

func DomainExists(api *cloudflare.API, ctx context.Context, dnsName string) (bool, error)

Function to check if a domain exists in a Cloudflare account

func GetSubdomainAndDomain

func GetSubdomainAndDomain(domainName string) (string, string)

func PurgeCache

func PurgeCache(api *cloudflare.API, ctx context.Context, zoneID string, hostname string) error

func ReadFileToArray

func ReadFileToArray(filename string) ([]string, error)

func SimpleChkZoneId

func SimpleChkZoneId(api *cloudflare.API, ctx context.Context, dnsName string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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