client

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNRClient

func CreateNRClient(cfg *config.Config, creds *credentials.Credentials) (*newrelic.NewRelic, error)

CreateNRClient initializes the New Relic client.

func WithClient

func WithClient(f func(c *newrelic.NewRelic))

WithClient returns a New Relic client.

func WithClientFrom

func WithClientFrom(configDir string, f func(c *newrelic.NewRelic))

WithClientFrom returns a New Relic client, initialized from configuration in the specified location.

Types

This section is empty.

Jump to

Keyboard shortcuts

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