Commit Graph

7 Commits (46ea48f8e1cfb75387584533b2d79a8da6d7e763)

Author SHA1 Message Date
Chris Bednarski b1645b0f35 Fixed a sort bug and added some more tests 9 years ago
Chris Bednarski 3639cfd93b More docs, fixed naming inconsistencies, moved formatting to Hostname methods 9 years ago
Chris Bednarski 3f456113bc Added Hostname.Equal() .EqualIp() and .IsValid()
IsValid provides error-checking in a non-intrusive way
9 years ago
Chris Bednarski 9e82a4a331 Changed interface to NewHostname not to return error
This is more succinct for most uses.
9 years ago
Chris Bednarski ac2093932c Changed ip from string to net.IP and changed hostnames to pointers 9 years ago
Chris Bednarski 896bc7deb0 Moved TrimWS to where it's used 9 years ago
Chris Bednarski c3b108ea9e Moved contents of lib back to the root 9 years ago