Commit Graph

20 Commits (4867ad3e6213d4f47a412fb63764ae404246f0aa)

Author SHA1 Message Date
Chris Bednarski 1377ff4274 Added MakeSurrogateIP to help with sorting 10 years ago
Chris Bednarski 84a954d8bd Renamed a bunch of variables in Less so they're easier to follow in the code 10 years ago
Chris Bednarski c2dc0f5272 Changed format to use byte arrays 10 years ago
Chris Bednarski 60c5e85bc5 Added filter functions
- Filter by IP
- Filter by Domain
- Filter by Domain and IPv4/6
- Also move GetHostsPath to NewHostfile
- Also Removed a bunch of bad tests
10 years ago
Chris Bednarski 2e11cd9fae Uncommented hostfile tests so we can make things work agian. 10 years ago
Chris Bednarski dffba8fcba Tweaked some comments for godoc 10 years ago
Chris Bednarski b1645b0f35 Fixed a sort bug and added some more tests 10 years ago
Chris Bednarski bc9228e41b Should be 'complicated' 10 years ago
Chris Bednarski 6b4ffb431b In sort, skip comparing IPs if they're the same 10 years ago
Chris Bednarski 3639cfd93b More docs, fixed naming inconsistencies, moved formatting to Hostname methods 10 years ago
Chris Bednarski ebc96283b0 Clean up some golint errors 10 years ago
Chris Bednarski aa239820f5 Removed debug output 10 years ago
Chris Bednarski f2b81f9cd5 Implemented domain sorting and added doc comments to hostlist 10 years ago
Chris Bednarski 7f4f5d2b2e Changed to *V commands to switch between ipv4 and ipv6 functionality 10 years ago
Chris Bednarski c90989dea0 Implemented remove, copied format, tests, and stubs 10 years ago
Chris Bednarski 6b38e95bba Fixed add, remove is now failing the test (as expected) 10 years ago
Chris Bednarski f5dea78ac3 Some preliminary work and a lot of commented code 10 years ago
Chris Bednarski 4a5e6a8e3c Tweaked some names in hostlist to make implementation clearer, added todos 10 years ago
Chris Bednarski ac2093932c Changed ip from string to net.IP and changed hostnames to pointers 10 years ago
Chris Bednarski c3b108ea9e Moved contents of lib back to the root 10 years ago