nrfasthttp

package module
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const NewRelicTransaction = "__newrelic_txn_fasthttp__"

NewRelicTransaction - key context transaction newrelic

Variables

This section is empty.

Functions

func EndSegment added in v1.0.7

func EndSegment(v interface{})

EndSegment - endSegment

func FromContext

func FromContext(ctx *fasthttp.RequestCtx) *newrelic.Transaction

FromContext - newrelic from context

func Middleware

Middleware - middleware para fasthpp new relic

func NewDataStoreSegment added in v1.0.1

func NewDataStoreSegment(ctx *fasthttp.RequestCtx, tableName, operation string) *newrelic.DatastoreSegment

NewDataStoreSegment - Newrelic datasource

func NewExternalSegment added in v1.0.1

func NewExternalSegment(ctx *fasthttp.RequestCtx, request *fasthttp.Request) *newrelic.ExternalSegment

NewExternalSegment - external segment

func NewSegment added in v1.0.1

func NewSegment(ctx *fasthttp.RequestCtx, name string) *newrelic.Segment

NewSegment - simple segment

Types

This section is empty.

Jump to

Keyboard shortcuts

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