diff options
author | 2016-07-18 10:47:36 -0700 | |
---|---|---|
committer | 2016-07-18 18:47:36 +0100 | |
commit | 3ba86f24211639a985d37f0c708e0a6dd30c862f (patch) | |
tree | 9967b9699707dd2ccc3a5e84047d87959e73b4fa /core/core.go | |
parent | 3f4ec783d218d10b244487d463de5bb31284e3cf (diff) | |
download | coredns-3ba86f24211639a985d37f0c708e0a6dd30c862f.tar.gz coredns-3ba86f24211639a985d37f0c708e0a6dd30c862f.tar.zst coredns-3ba86f24211639a985d37f0c708e0a6dd30c862f.zip |
Move to logging package (#191)
* Updating comment to remove references to Caddy
* Updating README to mark TODO items complete
* Changing all debug print statements over to use logging package
Diffstat (limited to 'core/core.go')
-rw-r--r-- | core/core.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/core.go b/core/core.go index 1c0eba49a..94dd06e52 100644 --- a/core/core.go +++ b/core/core.go @@ -1,4 +1,4 @@ -// Package caddy implements the CoreDNS web server as a service +// Package core implements the CoreDNS web server as a service // in your own Go programs. // // To use this package, follow a few simple steps: @@ -7,10 +7,10 @@ // 2. Call LoadCorefile() to get the Corefile (it // might have been piped in as part of a restart). // You should pass in your own Corefile loader. -// 3. Call caddy.Start() to start CoreDNS, caddy.Stop() -// to stop it, or caddy.Restart() to restart it. +// 3. Call core.Start() to start CoreDNS, core.Stop() +// to stop it, or core.Restart() to restart it. // -// You should use caddy.Wait() to wait for all CoreDNS servers +// You should use core.Wait() to wait for all CoreDNS servers // to quit before your process exits. package core |