This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
coredns
Watch
1
Star
0
Fork
0
You've already forked coredns
mirror of
https://github.com/coredns/coredns.git
synced
2025-10-28 08:44:17 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
f3066b94637b4278492dea13e9dea05e6abc0f0f
coredns
/
coredns.go
8 lines
90 B
Go
Raw
Normal View
History
Unescape
Escape
Make CoreDNS a server type plugin for Caddy (#220) * Make CoreDNS a server type plugin for Caddy Remove code we don't need and port all middleware over. Fix all tests and rework the documentation. Also make `go generate` build a caddy binary which we then copy into our directory. This means `go build`-builds remain working as-is. And new etc instances in each etcd test for better isolation. Fix more tests and rework test.Server with the newer support Caddy offers. Fix Makefile to support new mode of operation.
2016-08-19 17:14:17 -07:00
package
main
Fix main startup (#232) Set version and name of the program. And then call coremain.Run(). The coremain split makes CoreDNS embeddable. Also see #189 for an old PR.
2016-08-23 16:36:29 +01:00
import
"github.com/miekg/coredns/coremain"
Make CoreDNS a server type plugin for Caddy (#220) * Make CoreDNS a server type plugin for Caddy Remove code we don't need and port all middleware over. Fix all tests and rework the documentation. Also make `go generate` build a caddy binary which we then copy into our directory. This means `go build`-builds remain working as-is. And new etc instances in each etcd test for better isolation. Fix more tests and rework test.Server with the newer support Caddy offers. Fix Makefile to support new mode of operation.
2016-08-19 17:14:17 -07:00
func
main
(
)
{
Fix main startup (#232) Set version and name of the program. And then call coremain.Run(). The coremain split makes CoreDNS embeddable. Also see #189 for an old PR.
2016-08-23 16:36:29 +01:00
coremain
.
Run
(
)
Make CoreDNS a server type plugin for Caddy (#220) * Make CoreDNS a server type plugin for Caddy Remove code we don't need and port all middleware over. Fix all tests and rework the documentation. Also make `go generate` build a caddy binary which we then copy into our directory. This means `go build`-builds remain working as-is. And new etc instances in each etcd test for better isolation. Fix more tests and rework test.Server with the newer support Caddy offers. Fix Makefile to support new mode of operation.
2016-08-19 17:14:17 -07:00
}
Reference in New Issue
Copy Permalink