Commit Graph

18 Commits (b9a25f7aafc267c582d2cd09686104254fdd21a8)

Author SHA1 Message Date
Chris Bednarski d0930958bf Save will actually write to disk now 10 years ago
Chris Bednarski d840489baa Fix implementation for ls 10 years ago
Chris Bednarski 93d4b5141b Removed an unused function 10 years ago
Chris Bednarski 204c8c8a94 Added a doc comment for GetData 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 a689c99cf6 Rearranged hostfile methods so they're declared before they're used, and grouped more logically 10 years ago
Chris Bednarski 746f82d743 Added some comments so golint is happy 10 years ago
Chris Bednarski b41ceb8798 Removed even more unused code 10 years ago
Chris Bednarski 17a11828bb Deleted tons of things; also changed env HOSTESS_FILE to HOSTESS_PATH 10 years ago
Chris Bednarski 870b3f9756 Fixed some makefile issues and a golint thingy 10 years ago
Chris Bednarski ead114987d Changed Ip to IP for more consistent naming 10 years ago
Chris Bednarski f5dea78ac3 Some preliminary work and a lot of commented code 10 years ago
Chris Bednarski 9e82a4a331 Changed interface to NewHostname not to return error
This is more succinct for most uses.
10 years ago
Chris Bednarski ac2093932c Changed ip from string to net.IP and changed hostnames to pointers 10 years ago
Chris Bednarski 896bc7deb0 Moved TrimWS to where it's used 10 years ago
Chris Bednarski b78c4b29ce Changed test to be in hostess_test package and updated tests to use public interface 10 years ago
Chris Bednarski c3b108ea9e Moved contents of lib back to the root 10 years ago