1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-15 11:56:15 +08:00
Files
kubo/plugin/tracer.go
ForrestWeston 46722af958 Add tracer plugin support
define interface for creating tracers for use with opentracing-api

License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2018-03-25 12:57:03 -07:00

12 lines
255 B
Go

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