txeh

Go library and CLI utility for /etc/hosts management.

APACHE-2.0 License

Stars
318

Bot releases are hidden (Show)

txeh - txeh-v1.5.4 craig Latest Release

Published by cjimti about 1 year ago

Changelog

  • 3446338 Merge pull request #23 from txn2/add-support-for-go-install
  • f9fd663 Update documentation for release
  • ec2d936 Update version management
  • 224ab3b Add support for 'go install' command
  • 6a28df2 housekeeping
txeh - txeh-v1.5.3 craig

Published by cjimti about 1 year ago

Changelog

  • e8cdde2 small go test for each method
  • f47bf69 added RemoveCIDRs
  • bec8513 trim spaces for host address
  • c4fba31 added locks for list methods
  • 52bfc1a test update
txeh - txeh-v1.5.2 craig

Published by cjimti about 1 year ago

Changelog

  • 138208f added the ability to create a Hosts object with a string (RawText)
  • ae6552a added simple test
  • c879719 fixed typos and documentation cleanup
  • fd6fec4 added list command to cli, along with new hosts methods ListHostsByIP, ListHostsByCIDR and ListAddressesByHost
  • 171fcae housekeeping, fixed typos and deprications
  • ca3571a upgrade Go to 1.20, upgrade all packages
txeh - txeh-v1.4.0 craig

Published by cjimti over 1 year ago

Changelog

  • 16104e9 housekeeping
  • 6c60742 build update
  • 1df13ff go 1.19
  • d454958 Merge pull request #21 from girishsg24/supportdualstack
  • 0c4a4f4 support dualstack entries in /etc/hosts file
  • 8a33103 Merge pull request #18 from mattkasun/master
  • 4d96640 remove erroneous extra blank line during parse
  • b4a4cf7 Merge pull request #16 from docooler/master
  • cd12e07 Update txeh.go
  • 09e2953 Merge pull request #11 from chinglinwen/master
  • a69484b fixes #10 handle no newline issue
txeh - txeh-v1.3.0 cjimti

Published by cjimti almost 5 years ago

Changelog

b5c7075 Merge pull request #5 from tommyblue/master
dc65154 Add 'show' argument to print the /etc/hosts file

txeh - txeh-v1.2.2 cjimti

Published by cjimti almost 5 years ago

Changelog

fd1228d Merge pull request #3 from adityadani/master
2430ff0 Handle trailing comments on a valid /etc/hosts entry.

txeh - txeh-v1.2.1 cjimti

Published by cjimti about 5 years ago

Changelog

01dac41 additional mutex

txeh - txeh-v1.2.0 cjimti

Published by cjimti over 5 years ago

Changelog

4482b2f lib v1.1.1

txeh - txeh-v1.1.0 cjimti

Published by cjimti over 5 years ago

Changelog

655a113 added remove for cidr ranges
4c0d9d2 added deps, updated docs

txeh - txeh-v1.0.2 cjimti

Published by cjimti over 5 years ago

Changelog

ec17075 housekeeping

txeh - txeh-v1.0.1 cjimti

Published by cjimti over 5 years ago

Changelog

bf4cec1 fixed versioning
cbeba03 typos
06a2e74 txeh command line utility
7d68f9b updated docs