go-utils

module
v0.0.0-...-d95a457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2018 License: MIT

README

DEPRECATED

This repository is demarcated as deprecated. Please don't use it or any of its packages for new projects, and please consider migrating away from it in existing projects. Bring questions or concerns to the next internal Go Salon.

go-utils

utils for go.

Build Status

common

An experimental package for functions detecting commonalities between inputs.

debug

A small package with a global variable to turn on or off debugging across all packages that import debug.

executable

Reports on the status of the running executable, including what directory its binary was run from and whether any sibling processes are running.

ganglia

Contains wrapper functions for go-gmetric.

instrumentation

Contains functions for Go runtime introspection.

lifecycle

Provides for clean daemon shutdown after receiving one or more signals.

privsep

Library for implementing privilege-separated processes which can communicate with each other.

server

A package for managing listening sockets. Hides details of closing listening sockets when shutting a server down.

stopper

A utility interface for stopping channels / functions / anything in a clean manner.

strftime

Pure-Go and system native (via cgo) implementations of POSIX strftime(3).

suppress

Contains utility functions to suppress repeated function calls into one aggregate call.

tls

A package that contains functions for loading tls certs and whatnot.

vlog

A package that enables or disables verbose logging for any package that imports vlog.

Directories

Path Synopsis
Package debug is used for synchronizing a debug option across multiple packages littered through a project.
Package debug is used for synchronizing a debug option across multiple packages littered through a project.
Package executable has functions to return the executable path or directory and other process testing functions.
Package executable has functions to return the executable path or directory and other process testing functions.
Package ganglia has convenience functions for using ganglia.
Package ganglia has convenience functions for using ganglia.
Package privsep provides a mechanism for a privileged process to create a less-privileged child process with which it maintains a bidirectional communication channel.
Package privsep provides a mechanism for a privileged process to create a less-privileged child process with which it maintains a bidirectional communication channel.
Package strftime provides the POSIX strftime(3) function.
Package strftime provides the POSIX strftime(3) function.
Package suppress has functions to suppress repeated function calls into one aggregated function call.
Package suppress has functions to suppress repeated function calls into one aggregated function call.
Package vlog contains functions for optionally printing if a verbose flag is set and for coalescing multiple duplicate print calls.
Package vlog contains functions for optionally printing if a verbose flag is set and for coalescing multiple duplicate print calls.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL