client

package
v0.0.0-...-e6503be Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PDNSServiceName         string = "pdns-api"
	PDNSInternalServiceName string = "pdns-api-internal"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient(config config.Config, consulClient *api.Client, internalService *connect.Service) *client

Types

type InternalRequest

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

InternalRequest holds params for do requests via internal API

func NewInternalRequest

func NewInternalRequest(method, path string, data []byte) *InternalRequest

NewInternalRequest creates a new InternalRequest

Jump to

Keyboard shortcuts

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