gone

command module
v0.0.0-...-243d8d2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 16 Imported by: 0

README

gone

Golang packages for writing small daemons and servers.

This is not strictly a "framework". The individual packages do not really depend on each other and can be used independently. However, they work well together.

packages

  • log is a drop-in replacement for the standard Go logging library "log" which is fully source code compatible support all the standard library API while at the same time offering advanced logging features through an extended API.

  • sd Manages your socket file descriptors and (if wanted) interacts with Linux systemd socket-activation, FDSTORE and NOTIFY socket - and provides process management if you want the old style fork/kill process replacement reload.

  • http Provides extentions of the standard HTTP library. - Like a dynamic accesslogging middleware and a client side failover virtual Transport

  • daemon Wraps the sd package and a lot of daemon management boilerplate code to make if very easy to start a full featured daemon, doing graceful reload and/or zero-downtime restart/upgrades.

  • metric A fast client side buffered (if needed) metrics library with a statsd sink.

  • jconf Small utility to make parsing of modular JSON config easier, while still being able to serialize the main config object to JSON and see the full config.

  • signals Run a signal handler and call functions based on a signal->function map.

  • netutil A simple generic net.Conn connection pool and a wrapper around net.Listener and net.Dialer to have a reaper go-routine monitor IO activity.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package daemon aims to make it easier to write simple network daemons for process supervised deployment like "systemd".
Package daemon aims to make it easier to write simple network daemons for process supervised deployment like "systemd".
srv
log
Package log is a drop-in replacement for the standard Go logging library "log" which is fully source code compatible support all the standard library API while at the same time offering advanced logging features through an extended API.
Package log is a drop-in replacement for the standard Go logging library "log" which is fully source code compatible support all the standard library API while at the same time offering advanced logging features through an extended API.
syslog
Package syslog provides the syslog level contants source code compatible with the standard library.
Package syslog provides the syslog level contants source code compatible with the standard library.
Package metric is a generic metric package for the standard metric types gauges/counters/timers/histograms.
Package metric is a generic metric package for the standard metric types gauges/counters/timers/histograms.
Package netutil only defines interfaces for objects which can return listeners.
Package netutil only defines interfaces for objects which can return listeners.
pool
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
reaper
Package reaper implements an IOActivityTimeout for a net.Conn by having a reaper go-routine monitoring connections for IO activity and close connections which fail to show activity.
Package reaper implements an IOActivityTimeout for a net.Conn by having a reaper go-routine monitoring connections for IO activity and close connections which fail to show activity.
sd
Package sd aims to make it easier to write simple network daemons for Linux systemd
Package sd aims to make it easier to write simple network daemons for Linux systemd

Jump to

Keyboard shortcuts

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