Commit Graph

8 Commits (09ada4cfb264e2467604c1e1026d129c8f459a3e)

Author SHA1 Message Date
Chris Bednarski 8eb33b712c Added dump and apply commands to provide JSON I/O 9 years ago
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