client

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NameServer

type NameServer struct {
	// contains filtered or unexported fields
}

func New

func New(endpoint string, enableTls bool) (NameServer, error)

func (NameServer) CreateRecord added in v0.0.3

func (c NameServer) CreateRecord(ctx context.Context, rType, rKey, rValue string, ttl int32, force bool) (*api.NameserverCreateRecordResp, error)

func (NameServer) DeleteRecord added in v0.0.3

func (c NameServer) DeleteRecord(ctx context.Context, key string) error

func (NameServer) GetRecord added in v0.0.3

func (c NameServer) GetRecord(ctx context.Context, key string) (*api.NameserverGetRecordResp, error)

func (NameServer) Status

func (c NameServer) Status(ctx context.Context) error

Jump to

Keyboard shortcuts

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