mirror of
				https://github.com/coredns/coredns.git
				synced 2025-11-03 18:53:13 -05:00 
			
		
		
		
	* 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
		
			
				
	
	
		
			13 lines
		
	
	
		
			213 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			213 B
		
	
	
	
		
			Go
		
	
	
	
	
	
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
 | 
						|
}
 |