Go to file
Kyle Isom 80bea5c005 Tidy assert package.
+ Rename some functions to make sense:
  + Error now asserts that an error *did* occur.
  + NoError was added to assert that an error did *not* occur.
  + Error2 has been renamed ErrorEq.
+ More documentation added to clarify things.
+ Certain functions take optional strings to describe what went wrong.
2016-04-28 12:23:50 -07:00
assert Tidy assert package. 2016-04-28 12:23:50 -07:00
cmd Use goutils/die instead of kisom/die. 2016-04-28 11:29:58 -07:00
die Initial import. 2015-06-10 16:32:04 -07:00
fileutil Adding some file access utils. 2015-09-12 03:54:43 -07:00
lib Explicit int64 for 32-bit platforms. 2016-01-28 12:26:56 -08:00
logging logging is now compatible with klog. 2016-04-01 15:08:55 -07:00
mwc golint fixes. 2015-12-23 13:28:04 -08:00
sbuf Add sbuf. 2015-09-22 01:26:02 -07:00
testio Import testio package. 2016-04-28 11:37:26 -07:00
testutil Start a testutils package. 2016-04-28 11:33:41 -07:00
LICENSE Initial import. 2015-06-10 16:32:04 -07:00
README.md Ad expiry/revocation checking to certverify. 2016-01-14 23:08:12 -08:00
doc.go Add top-level package documentation. 2015-12-22 20:57:32 -08:00

README.md

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:

die/            Death of a program.
cmd/
    certchain/  Display the certificate chain from a
                TLS connection.
    certdump/   Dump certificate information.
    certverify/ Verify a TLS X.509 certificate, optionally printing
	    the time to expiry and checking for revocations.
    clustersh/  Run commands or transfer files across multiple
                servers via SSH.
    csrpubdump/ Dump the public key from an X.509
                certificate request.
    fragment/   Print a fragment of a file.
    jlp/        JSON linter/prettifier.
    pem2bin/    Dump the binary body of a PEM-encoded block.
    pembody/    Print the body of a PEM certificate.
    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.
    stealchain/ Dump the verified chain from a TLS
                connection.
    tlskeypair/ Check whether a TLS certificate and key file match.
lib/            Commonly-useful functions for writing Go programs.
logging/        A logging library.
mwc/            MultiwriteCloser implementation.
sbuf/           A byte buffer that can be wiped.

Each program should have a small README in the directory with more information.

All code here is licensed under the MIT license.