Documentation ¶
Index ¶
Constants ¶
View Source
const ( HookBefore = "opentracing:startSpan" HookAfter = "opentracing:finishSpan" OperationName = "MySQL" InstanceSpanKey = "opentracing-span" KeyRowsAffected = "db.rows_affected" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormTracer ¶
type GormTracer struct { }
func NewGormTracer ¶
func NewGormTracer() *GormTracer
func (*GormTracer) Initialize ¶
func (g *GormTracer) Initialize(db *gorm.DB) error
func (*GormTracer) Name ¶
func (g *GormTracer) Name() string
Click to show internal directories.
Click to hide internal directories.