othooks

package
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

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

func New

func New(tracer opentracing.Tracer) *Hook

func (*Hook) After

func (h *Hook) After(ctx context.Context, query string, args ...interface{}) (context.Context, error)

func (*Hook) Before

func (h *Hook) Before(ctx context.Context, query string, args ...interface{}) (context.Context, error)

func (*Hook) OnError

func (h *Hook) OnError(ctx context.Context, err error, query string, args ...interface{}) error

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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