othooks

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: MIT Imports: 3 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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