nrgorm

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT, MIT Imports: 4 Imported by: 0

README

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