mirror of
https://github.com/coredns/coredns.git
synced 2025-11-08 21:16:24 -05:00
Remove the word middleware (#1067)
* Rename middleware to plugin first pass; mostly used 'sed', few spots where I manually changed text. This still builds a coredns binary. * fmt error * Rename AddMiddleware to AddPlugin * Readd AddMiddleware to remain backwards compat
This commit is contained in:
12
plugin/pkg/trace/trace.go
Normal file
12
plugin/pkg/trace/trace.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package trace
|
||||
|
||||
import (
|
||||
"github.com/coredns/coredns/plugin"
|
||||
ot "github.com/opentracing/opentracing-go"
|
||||
)
|
||||
|
||||
// Trace holds the tracer and endpoint info
|
||||
type Trace interface {
|
||||
plugin.Handler
|
||||
Tracer() ot.Tracer
|
||||
}
|
||||
Reference in New Issue
Block a user