This website requires JavaScript.
Explore
Help
Sign in
TrueCloudLab
/
coredns
Watch
16
Star
0
Fork
You've already forked coredns
2
Code
Issues
Pull requests
2
Projects
Releases
Packages
Wiki
Activity
Actions
a5f3cb5fe5
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 a new issue
Copy permalink