nrgorm

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGormCallbacks

func AddGormCallbacks(db *gorm.DB)

AddGormCallbacks adds callbacks to NewRelic, you should call SetTxnToGorm to make them work

func SetTxnToGorm

func SetTxnToGorm(txn newrelic.Transaction, db *gorm.DB) *gorm.DB

SetTxnToGorm sets transaction to gorm settings, returns cloned DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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