ipld-eth-server/vendor/github.com/ipfs/go-ipfs/plugin/tracer.go
2019-12-02 13:24:51 -06:00

12 lines
223 B
Go

package plugin
import (
"github.com/opentracing/opentracing-go"
)
// PluginTracer is an interface that can be implemented to add a tracer
type PluginTracer interface {
Plugin
InitTracer() (opentracing.Tracer, error)
}