Versions in this module Expand all Collapse all v0 v0.2.0 Oct 25, 2017 Changes in this version type Application + CustomMetrics map[string][]float64 + func (a *Application) RecordCustomMetric(name string, value float64) error v0.1.0 Aug 30, 2017 Changes in this version + type Application struct + AllTransactions []*Transaction + CustomEvents map[string][]map[string]interface{} + LatestTransaction *Transaction + func NewApplication(options ...func(*Application)) *Application + func (a *Application) RecordCustomEvent(eventType string, params map[string]interface{}) error + func (a *Application) Shutdown(timeout time.Duration) + func (a *Application) StartTransaction(name string, w http.ResponseWriter, r *http.Request) newrelic.Transaction + func (a *Application) WaitForConnection(timeout time.Duration) error + type Transaction struct + Attributes map[string]interface{} + Code int + Ended bool + Errors int + Ignored bool + Name string + func NewTransaction(name string, options ...func(*Transaction)) *Transaction + func (t *Transaction) AddAttribute(key string, value interface{}) error + func (t *Transaction) End() error + func (t *Transaction) Header() http.Header + func (t *Transaction) Ignore() error + func (t *Transaction) NoticeError(err error) error + func (t *Transaction) SetName(name string) error + func (t *Transaction) StartSegmentNow() newrelic.SegmentStartTime + func (t *Transaction) Write(b []byte) (int, error) + func (t *Transaction) WriteHeader(code int)