Merge #50: Fix misspellings.

ec2c717 Travis: Make misspell critical for gometalinter. (JeremyRand)
8fd57aa Server: fixed misspellings. (JeremyRand)
cf95d18 Backend: fixed misspellings. (JeremyRand)

Pull request description:

  Based on recommendations from "misspell" static analysis. Depends on #48 .

Tree-SHA512: 0ba3d5d79cb6b8a6763ee83ee9533c049baafcfdd1b23cc630d5d0d8bec8fe2e26f6a3b402ee28f08f5a7860ebedcf9642f2c51ea7ef625bf956fa2f60e3509e
pull/68/head
JeremyRand 6 years ago
commit 82330bf5ae
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -33,7 +33,6 @@ gometalinter.v1 --enable-all \
--disable=golint \
--disable=ineffassign \
--disable=lll \
--disable=misspell \
--disable=staticcheck \
--disable=test \
--disable=unconvert \

@ -36,14 +36,14 @@ type Config struct {
CacheMaxEntries int
// Nameservers to advertise at zone apex. The first is considered the primary.
// If empty, a psuedo-hostname resolvable to SelfIP is used.
// If empty, a pseudo-hostname resolvable to SelfIP is used.
CanonicalNameservers []string
// Vanity IPs to place at the zone apex.
VanityIPs []net.IP
// Used only if CanonicalNameservers is left blank. An IP which the internal
// psuedo-hostname should resolve to. This should be the public IP of the
// pseudo-hostname should resolve to. This should be the public IP of the
// nameserver serving the zone expressed by this backend.
SelfIP string

@ -44,13 +44,13 @@ type Config struct {
NamecoinRPCAddress string `default:"127.0.0.1:8336" usage:"Namecoin RPC server address"`
NamecoinRPCCookiePath string `default:"" usage:"Namecoin RPC cookie path (if set, used instead of password)"`
CacheMaxEntries int `default:"100" usage:"Maximum name cache entries"`
SelfName string `default:"" usage:"The FQDN of this nameserver. If empty, a psuedo-hostname is generated."`
SelfName string `default:"" usage:"The FQDN of this nameserver. If empty, a pseudo-hostname is generated."`
SelfIP string `default:"127.127.127.127" usage:"The canonical IP address for this service"`
HTTPListenAddr string `default:"" usage:"Address for webserver to listen at (default: disabled)"`
CanonicalSuffix string `default:"bit" usage:"Suffix to advertise via HTTP"`
CanonicalNameservers string `default:"" usage:"Comma-separated list of nameservers to use for NS records. If blank, SelfName (or autogenerated psuedo-hostname) is used."`
CanonicalNameservers string `default:"" usage:"Comma-separated list of nameservers to use for NS records. If blank, SelfName (or autogenerated pseudo-hostname) is used."`
canonicalNameservers []string
Hostmaster string `default:"" usage:"Hostmaster e. mail address"`
VanityIPs string `default:"" usage:"Comma separated list of IP addresses to place in A/AAAA records at the zone apex (default: don't add any records)"`

Loading…
Cancel
Save