commandapitest

package
v1.67.3 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrimJSON

func TrimJSON(json string) string

Types

type HttpClient

type HttpClient struct {
	ReceivedPayload string
	// contains filtered or unexported fields
}

func ClientReturns

func ClientReturns(status int, body string, err error) *HttpClient

func (*HttpClient) Do

func (c *HttpClient) Do(req *http.Request) (res *http.Response, err error)

Jump to

Keyboard shortcuts

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