Debian Codegraph @

README.md

raw
1 GOUTILS
2
3 This is a collection of small utility code I've written in Go; the `cmd/`
4 directory has a number of command-line utilities. Rather than keep all
5 of these in superfluous repositories of their own, I'm putting them here.
6
7 Contents:
8
9 assert/ Error handling, assertion-style.
10 cmd/
11 certchain/ Display the certificate chain from a
12 TLS connection.
13 certdump/ Dump certificate information.
14 certverify/ Verify a TLS X.509 certificate, optionally printing
15 the time to expiry and checking for revocations.
16 clustersh/ Run commands or transfer files across multiple
17 servers via SSH.
18 csrpubdump/ Dump the public key from an X.509 certificate request.
19 fragment/ Print a fragment of a file.
20 jlp/ JSON linter/prettifier.
21 pem2bin/ Dump the binary body of a PEM-encoded block.
22 pembody/ Print the body of a PEM certificate.
23 pemit/ Dump data to a PEM file.
24 showimp/ List the external (e.g. non-stdlib and outside the
25 current working directory) imports for a Go file.
26 readchain/ Print the common name for the certificates
27 in a bundle.
28 showimp Display the external imports in a package.
29 stealchain/ Dump the verified chain from a TLS
30 connection.
31 tlskeypair/ Check whether a TLS certificate and key file match.
32 utc/ Convert times to UTC.
33 die/ Death of a program.
34 fileutil/ Common file functions.
35 lib/ Commonly-useful functions for writing Go programs.
36 logging/ A logging library.
37 mwc/ MultiwriteCloser implementation.
38 sbuf/ A byte buffer that can be wiped.
39 testio/ Various I/O utilities useful during testing.
40 testutil/ Various utility functions useful during testing.
41
42
43 Each program should have a small README in the directory with more
44 information.
45
46 All code here is licensed under the MIT license.