Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewRelicHook ¶
type NewRelicHook struct {
// contains filtered or unexported fields
}
func NewHook ¶
func NewHook(agent newrelic.Application, host, port, db string) *NewRelicHook
func (*NewRelicHook) AfterQuery ¶
func (h *NewRelicHook) AfterQuery(ev *pg.QueryEvent)
func (*NewRelicHook) BeforeQuery ¶
func (h *NewRelicHook) BeforeQuery(ev *pg.QueryEvent)
Click to show internal directories.
Click to hide internal directories.