├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── common ├── commonlines_test_file.txt ├── strings.go └── strings_test.go ├── debug └── debug.go ├── executable ├── executable.go ├── executable_darwin.go ├── executable_linux.go └── executable_test.go ├── ganglia └── ganglia.go ├── instrumentation ├── instrumentation.go └── instrumentation_test.go ├── lifecycle ├── lifecycle.go └── lifecycle_test.go ├── privsep ├── _examples │ ├── listener_example.go │ ├── monitor_example.go │ └── pipe_example.go ├── privsep.go ├── privsep_darwin.go ├── privsep_linux.go ├── privsep_test.go └── privsep_unix.go ├── server └── server.go ├── stopper ├── chan.go └── stopper.go ├── strftime ├── strftime.go ├── strftime_linux.go ├── strftime_linux_test.go ├── strftime_nonlinux.go ├── strftime_pure.go ├── strftime_pure_test.go └── strftime_test.go ├── suppress ├── suppress.go └── suppress_test.go ├── tls ├── cert_creator.go ├── cert_creator_test.go ├── testcerts │ ├── test-cache-client-cert.pem │ ├── test-cache-client-key.pem │ ├── test-nontls-ca-cert.pem │ ├── test-nontls-ca-key.pem │ ├── test-proxy-client-cert.pem │ ├── test-proxy-client-key.pem │ ├── test-proxy-server-cert.pem │ ├── test-proxy-server-key.pem │ ├── test-syslogd-server-cert.pem │ ├── test-syslogd-server-key.pem │ ├── test-tls-ca-cert.pem │ ├── test-tls-ca-key.pem │ ├── test-unknown-ca-cert.pem │ ├── test-unknown-ca-key.pem │ ├── test-unknown-client-cert.pem │ ├── test-unknown-client-key.pem │ ├── test-unknown-server-cert.pem │ └── test-unknown-server-key.pem ├── tls.go └── tls_test.go └── vlog ├── log.go └── log_test.go /.gitignore: -------------------------------------------------------------------------------- 1 | .*.swp 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/README.md -------------------------------------------------------------------------------- /common/commonlines_test_file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/common/commonlines_test_file.txt -------------------------------------------------------------------------------- /common/strings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/common/strings.go -------------------------------------------------------------------------------- /common/strings_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/common/strings_test.go -------------------------------------------------------------------------------- /debug/debug.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/debug/debug.go -------------------------------------------------------------------------------- /executable/executable.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/executable/executable.go -------------------------------------------------------------------------------- /executable/executable_darwin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/executable/executable_darwin.go -------------------------------------------------------------------------------- /executable/executable_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/executable/executable_linux.go -------------------------------------------------------------------------------- /executable/executable_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/executable/executable_test.go -------------------------------------------------------------------------------- /ganglia/ganglia.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/ganglia/ganglia.go -------------------------------------------------------------------------------- /instrumentation/instrumentation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/instrumentation/instrumentation.go -------------------------------------------------------------------------------- /instrumentation/instrumentation_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/instrumentation/instrumentation_test.go -------------------------------------------------------------------------------- /lifecycle/lifecycle.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/lifecycle/lifecycle.go -------------------------------------------------------------------------------- /lifecycle/lifecycle_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/lifecycle/lifecycle_test.go -------------------------------------------------------------------------------- /privsep/_examples/listener_example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/_examples/listener_example.go -------------------------------------------------------------------------------- /privsep/_examples/monitor_example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/_examples/monitor_example.go -------------------------------------------------------------------------------- /privsep/_examples/pipe_example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/_examples/pipe_example.go -------------------------------------------------------------------------------- /privsep/privsep.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/privsep.go -------------------------------------------------------------------------------- /privsep/privsep_darwin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/privsep_darwin.go -------------------------------------------------------------------------------- /privsep/privsep_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/privsep_linux.go -------------------------------------------------------------------------------- /privsep/privsep_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/privsep_test.go -------------------------------------------------------------------------------- /privsep/privsep_unix.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/privsep/privsep_unix.go -------------------------------------------------------------------------------- /server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/server/server.go -------------------------------------------------------------------------------- /stopper/chan.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/stopper/chan.go -------------------------------------------------------------------------------- /stopper/stopper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/stopper/stopper.go -------------------------------------------------------------------------------- /strftime/strftime.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime.go -------------------------------------------------------------------------------- /strftime/strftime_linux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime_linux.go -------------------------------------------------------------------------------- /strftime/strftime_linux_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime_linux_test.go -------------------------------------------------------------------------------- /strftime/strftime_nonlinux.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime_nonlinux.go -------------------------------------------------------------------------------- /strftime/strftime_pure.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime_pure.go -------------------------------------------------------------------------------- /strftime/strftime_pure_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime_pure_test.go -------------------------------------------------------------------------------- /strftime/strftime_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/strftime/strftime_test.go -------------------------------------------------------------------------------- /suppress/suppress.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/suppress/suppress.go -------------------------------------------------------------------------------- /suppress/suppress_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/suppress/suppress_test.go -------------------------------------------------------------------------------- /tls/cert_creator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/cert_creator.go -------------------------------------------------------------------------------- /tls/cert_creator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/cert_creator_test.go -------------------------------------------------------------------------------- /tls/testcerts/test-cache-client-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-cache-client-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-cache-client-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-cache-client-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-nontls-ca-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-nontls-ca-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-nontls-ca-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-nontls-ca-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-proxy-client-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-proxy-client-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-proxy-client-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-proxy-client-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-proxy-server-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-proxy-server-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-proxy-server-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-proxy-server-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-syslogd-server-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-syslogd-server-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-syslogd-server-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-syslogd-server-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-tls-ca-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-tls-ca-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-tls-ca-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-tls-ca-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-unknown-ca-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-unknown-ca-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-unknown-ca-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-unknown-ca-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-unknown-client-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-unknown-client-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-unknown-client-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-unknown-client-key.pem -------------------------------------------------------------------------------- /tls/testcerts/test-unknown-server-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-unknown-server-cert.pem -------------------------------------------------------------------------------- /tls/testcerts/test-unknown-server-key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/testcerts/test-unknown-server-key.pem -------------------------------------------------------------------------------- /tls/tls.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/tls.go -------------------------------------------------------------------------------- /tls/tls_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/tls/tls_test.go -------------------------------------------------------------------------------- /vlog/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/vlog/log.go -------------------------------------------------------------------------------- /vlog/log_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastly/go-utils/HEAD/vlog/log_test.go --------------------------------------------------------------------------------