mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-29 01:04:15 -04: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
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Package core registers the server and all plugins we support.
 | |
| package core
 | |
| 
 | |
| import (
 | |
| 	// plug in the server
 | |
| 	_ "github.com/coredns/coredns/core/dnsserver"
 | |
| 
 | |
| 	// plug in the standard directives (sorted)
 | |
| 	_ "github.com/coredns/coredns/plugin/auto"
 | |
| 	_ "github.com/coredns/coredns/plugin/bind"
 | |
| 	_ "github.com/coredns/coredns/plugin/cache"
 | |
| 	_ "github.com/coredns/coredns/plugin/chaos"
 | |
| 	_ "github.com/coredns/coredns/plugin/dnssec"
 | |
| 	_ "github.com/coredns/coredns/plugin/dnstap"
 | |
| 	_ "github.com/coredns/coredns/plugin/erratic"
 | |
| 	_ "github.com/coredns/coredns/plugin/errors"
 | |
| 	_ "github.com/coredns/coredns/plugin/etcd"
 | |
| 	_ "github.com/coredns/coredns/plugin/file"
 | |
| 	_ "github.com/coredns/coredns/plugin/health"
 | |
| 	_ "github.com/coredns/coredns/plugin/kubernetes"
 | |
| 	_ "github.com/coredns/coredns/plugin/loadbalance"
 | |
| 	_ "github.com/coredns/coredns/plugin/log"
 | |
| 	_ "github.com/coredns/coredns/plugin/metrics"
 | |
| 	_ "github.com/coredns/coredns/plugin/pprof"
 | |
| 	_ "github.com/coredns/coredns/plugin/proxy"
 | |
| 	_ "github.com/coredns/coredns/plugin/reverse"
 | |
| 	_ "github.com/coredns/coredns/plugin/rewrite"
 | |
| 	_ "github.com/coredns/coredns/plugin/root"
 | |
| 	_ "github.com/coredns/coredns/plugin/secondary"
 | |
| 	_ "github.com/coredns/coredns/plugin/trace"
 | |
| 	_ "github.com/coredns/coredns/plugin/whoami"
 | |
| )
 |