opentracing_storage_helper

package
v1.1.27 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseTracedStorage

type BaseTracedStorage struct {
	// contains filtered or unexported fields
}

func NewBaseTracedStorage

func NewBaseTracedStorage(dbconn RootDBConnGetter) *BaseTracedStorage

func (*BaseTracedStorage) TraceWrapper

func (s *BaseTracedStorage) TraceWrapper(ctx context.Context, name string) (span opentracing.Span, new_ctx context.Context)

type RootDBConnGetter

type RootDBConnGetter interface {
	GetRootDBConn() *gorm.DB
}

Jump to

Keyboard shortcuts

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