Use IsDomainName (#119)

Liberal as it as it still has its use. Reject invalid domain names
in the config.

Unrelated: clear up the README as well. And fix travis script.
This commit is contained in:
Miek Gieben
2016-04-13 23:23:35 +01:00
parent da447e28f4
commit 8184328dba
4 changed files with 25 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ go:
- 1.5
- 1.6
before_script:
- go get
- go get github.com/coreos/etcd
- go get github.com/coreos/go-etcd/etcd
- go build -o $HOME/gopath/src/github.com/coreos/etcd/etcd.run github.com/coreos/etcd