newrelic

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventGetUsers         = "GetUsers"
	EventGetIssues        = "GetIssues"
	EventGetCommitBySha   = "GetCommitBySha"
	EventGetCommitsBySha  = "GetCommitsBySha"
	EventListPullRequests = "ListPullRequests"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventParams

type EventParams struct {
	Owner string `json:"owner"`
	Repo  string `json:"repo"`
}

type NewrelicApp

type NewrelicApp interface {
	Init(newRelicLicense, envName string) error
	RecordCustomEvent(eventType string, params EventParams) error
}

func GetInstance

func GetInstance() NewrelicApp

Jump to

Keyboard shortcuts

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