Skip to content

Commit

Permalink
Add doc for PathPrefix var
Browse files Browse the repository at this point in the history
  • Loading branch information
weekface committed Jul 10, 2015
1 parent 3904410 commit 1d6c405
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions msg/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import (
"github.com/miekg/dns"
)

// Backend(etcd) path prefix, defaults to `skydns`.
// You can change it by set `path-prefix` configuration or $SKYDNS_PATH_PREFIX env.
// And then:
// The SkyDNS's configuration object should be stored under the key `/mydns/config`);
// The etcd path of domain `service.staging.skydns.local.` will be `/mydns/local/skydns/staging/service`.
var PathPrefix string = "skydns"

// This *is* the rdata from a SRV record, but with a twist.
Expand Down

0 comments on commit 1d6c405

Please sign in to comment.