2015-06-10 23:29:52 +00:00
|
|
|
GOUTILS
|
|
|
|
|
|
|
|
This is a collection of small utility code I've written in Go; the `cmd/`
|
|
|
|
directory has a number of command-line utilities. Rather than keep all
|
|
|
|
of these in superfluous repositories of their own, I'm putting them here.
|
|
|
|
|
|
|
|
Contents:
|
|
|
|
|
2016-04-28 21:16:37 +00:00
|
|
|
assert/ Error handling, assertion-style.
|
2015-10-26 23:08:17 +00:00
|
|
|
cmd/
|
|
|
|
certchain/ Display the certificate chain from a
|
|
|
|
TLS connection.
|
|
|
|
certdump/ Dump certificate information.
|
2016-01-15 07:08:12 +00:00
|
|
|
certverify/ Verify a TLS X.509 certificate, optionally printing
|
2016-04-28 21:16:37 +00:00
|
|
|
the time to expiry and checking for revocations.
|
2016-01-15 06:09:55 +00:00
|
|
|
clustersh/ Run commands or transfer files across multiple
|
2015-12-23 04:54:59 +00:00
|
|
|
servers via SSH.
|
2016-04-28 21:16:37 +00:00
|
|
|
csrpubdump/ Dump the public key from an X.509 certificate request.
|
2015-10-26 23:08:17 +00:00
|
|
|
fragment/ Print a fragment of a file.
|
2015-10-26 23:37:44 +00:00
|
|
|
jlp/ JSON linter/prettifier.
|
2016-01-15 06:09:55 +00:00
|
|
|
pem2bin/ Dump the binary body of a PEM-encoded block.
|
2015-10-26 23:08:17 +00:00
|
|
|
pembody/ Print the body of a PEM certificate.
|
2016-04-28 21:16:37 +00:00
|
|
|
pemit/ Dump data to a PEM file.
|
2015-10-26 23:08:17 +00:00
|
|
|
showimp/ List the external (e.g. non-stdlib and outside the
|
|
|
|
current working directory) imports for a Go file.
|
|
|
|
readchain/ Print the common name for the certificates
|
|
|
|
in a bundle.
|
2016-04-28 21:16:37 +00:00
|
|
|
showimp Display the external imports in a package.
|
2015-10-26 23:08:17 +00:00
|
|
|
stealchain/ Dump the verified chain from a TLS
|
|
|
|
connection.
|
2015-11-18 17:36:05 +00:00
|
|
|
tlskeypair/ Check whether a TLS certificate and key file match.
|
2016-04-28 21:16:37 +00:00
|
|
|
die/ Death of a program.
|
|
|
|
fileutil/ Common file functions.
|
2015-12-23 04:54:59 +00:00
|
|
|
lib/ Commonly-useful functions for writing Go programs.
|
|
|
|
logging/ A logging library.
|
|
|
|
mwc/ MultiwriteCloser implementation.
|
|
|
|
sbuf/ A byte buffer that can be wiped.
|
2016-04-28 21:16:37 +00:00
|
|
|
testio/ Various I/O utilities useful during testing.
|
|
|
|
testutil/ Various utility functions useful during testing.
|
2015-12-23 04:54:59 +00:00
|
|
|
|
2015-10-26 23:08:17 +00:00
|
|
|
|
2016-04-28 21:21:44 +00:00
|
|
|
Each program should have a small README in the directory with more
|
|
|
|
information.
|
2015-06-10 23:29:52 +00:00
|
|
|
|
|
|
|
All code here is licensed under the MIT license.
|