Versions in this module Expand all Collapse all v0 v0.0.1 Jul 23, 2017 Changes in this version + const NewRelicTransaction + func Do(client Client, txn newrelic.Transaction, req *fasthttp.Request, ...) error + func DoDeadline(client Client, txn newrelic.Transaction, req *fasthttp.Request, ...) error + func DoTimeout(client Client, txn newrelic.Transaction, req *fasthttp.Request, ...) error + func GetTransaction(ctx *fasthttp.RequestCtx) newrelic.Transaction + func StartExternalSegment(txn newrelic.Transaction, req *fasthttp.Request) newrelic.ExternalSegment + func StartTransaction(app newrelic.Application, name string, ctx *fasthttp.RequestCtx) newrelic.Transaction + func WrapHandler(app newrelic.Application, name string, handler fasthttp.RequestHandler) fasthttp.RequestHandler + type Client interface + Do func(req *fasthttp.Request, res *fasthttp.Response) error + DoDeadline func(req *fasthttp.Request, res *fasthttp.Response, deadline time.Time) error + DoTimeout func(req *fasthttp.Request, res *fasthttp.Response, timeout time.Duration) error + type Request struct + func (r Request) Header() http.Header + func (r Request) Method() string + func (r Request) URL() *url.URL + type RequestHeader struct + func (r RequestHeader) Get(name string) string + type Response struct + func NewResponse(res *fasthttp.Response, req *fasthttp.Request) Response + func (r Response) Code() int + func (r Response) Header() http.Header + func (r Response) Request() http.Request + type ResponseHeader struct + func (r ResponseHeader) Add(name, value string) + func (r ResponseHeader) Get(name string) string