ndb_client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NDBClient

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

func NewNDBClient

func NewNDBClient(username, password, url, caCert string, skipVerify bool) *NDBClient

func (*NDBClient) Do added in v0.5.1

func (ndbClient *NDBClient) Do(req *http.Request) (*http.Response, error)

func (*NDBClient) NewRequest added in v0.5.1

func (ndbClient *NDBClient) NewRequest(method, endpoint string, requestBody interface{}) (*http.Request, error)

type NDBClientHTTPInterface added in v0.5.1

type NDBClientHTTPInterface interface {
	NewRequest(method, endpoint string, requestBody interface{}) (*http.Request, error)
	Do(req *http.Request) (*http.Response, error)
}

NDBClientInterface defines the methods for an NDB client.

Jump to

Keyboard shortcuts

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