cli

package
v0.1.31 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitTag string
)

Functions

func CreateDNSRecord

func CreateDNSRecord(
	token string,
	zoneId string,
	content, name string,
	proxied bool,
	recordType, comment string,
	tags []string,
	ttl int) error

func CreateDNSRecordHandler

func CreateDNSRecordHandler(u *url.URL) error

func ListDNSRecords

func ListDNSRecords(token, zoneId string) error

func ListDNSRecordsHandler

func ListDNSRecordsHandler(u *url.URL) error

func Serve

func Serve(port int, stderr bool) error

func ServeHandler

func ServeHandler(u *url.URL) error

func Sync

func Sync(token, filename string) error

func SyncHandler

func SyncHandler(u *url.URL) error

func Trace

func Trace() error

func TraceHandler

func TraceHandler(u *url.URL) error

func UpdateDNSRecord

func UpdateDNSRecord(
	token string,
	zoneId, id string,
	content, name string,
	proxied bool,
	recordType, comment string,
	tags []string,
	ttl int) error

func UpdateDNSRecordHandler

func UpdateDNSRecordHandler(u *url.URL) error

func VersionHandler added in v0.1.22

func VersionHandler(_ *url.URL) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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