Documentation ¶
Overview ¶
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
- func FailingConnectClient(req *http.Request) (*http.Response, error)
- func NewAgent(dataClient backendhttp.Client, configurator ...func(*config.Config)) *agent.Agent
- func NewAgentFromConfig(cfg *config.Config) *agent.Agent
- func NewAgentWithConnectClient(connectClient *http.Client, dataClient backendhttp.Client, ...) *agent.Agent
- func NewAgentWithConnectClientAndConfig(connectClient *http.Client, dataClient backendhttp.Client, cfg *config.Config, ...) *agent.Agent
- func NewSuccessConnectHttpClient() *http.Client
- func SuccessConnectClient(req *http.Request) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAgentWithConnectClient ¶
func NewAgentWithConnectClient(connectClient *http.Client, dataClient backendhttp.Client, configurator ...func(*config.Config)) *agent.Agent
NewAgentWithConnectClient create a new agent for testing with a provided connect-client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.