newrelic

package
v0.0.0-...-3000ae6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppName    string
	LicenseKey string
}

Config has all the needed values to create the NewRelic.

type NewRelic

type NewRelic struct {
	App     *newrelic.Application
	AppName string
}

NewRelic has all that is needed to use NewRelic pkg.

func New

func New(cfg Config) (*NewRelic, error)

New provides a NewRelic object as a Factory pattern.

Jump to

Keyboard shortcuts

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