github.com/cbrgm/tcplatency (go): Command-line tool and go module to measure latency using TCP. 
Keywords: golang|latency|library|measure-latency|ping|tcp