proxy

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package proxy issues requests to the legacy mlab-ns service and parses responses.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoContent = errors.New("no content from server")

ErrNoContent is returned when mlab-ns returns http.StatusNoContent.

Functions

func UnmarshalResponse

func UnmarshalResponse(req *http.Request, result interface{}) (*http.Response, error)

UnmarshalResponse reads the response from the given request and unmarshals the value into the given result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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