Versions in this module Expand all Collapse all v1 v1.1.0 Jan 30, 2018 Changes in this version + type Hook struct + func New(tracer opentracing.Tracer) *Hook + func (h *Hook) After(ctx context.Context, query string, args ...interface{}) (context.Context, error) + func (h *Hook) Before(ctx context.Context, query string, args ...interface{}) (context.Context, error) + func (h *Hook) OnError(ctx context.Context, err error, query string, args ...interface{}) error