stdcom

module
v0.0.0-...-64a0d4e Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2017 License: BSD-3-Clause

README

gliderlabs/stdcom

Standard components and micro-frameworks for com

GoDoc CircleCI Go Report Card Slack Email Updates

This is a collection of re-usable components that can be used with the com component kernel for Go.

Table of Contents

  • daemon - a service runner for long-running applications
  • log - a placeholder logging API with components for various loggers
  • web - a web application harness with TLS and middleware support
  • web/sessions - [EXPERIMENTAL] wrapper and helper for github.com/gorilla/sessions
  • web/auth - [EXPERIMENTAL] orchestrates auth with any of ~40 identity providers
  • web/console - [EXPERIMENTAL] provides simple shell for an admin-style interface

Dependencies

Good libraries should have minimal dependencies. Here are the ones stdcom packages use and for what:

  • github.com/thejerf/suture (daemon)
  • go.uber.org/zap (log/zap)
  • github.com/gorilla/sessions (web/sessions)
  • github.com/markbates/goth (web/auth)
  • github.com/CloudyKit/jet (web/console)
  • github.com/dustin/go-humanize (web/console)

License

BSD

Directories

Path Synopsis
Package daemon is a simple service supervisor, currently built around the service interface of the suture project: https://github.com/thejerf/suture The top level function Run takes a registry and orchestrates the running of a daemon based on suture.Services implemented in the registry.
Package daemon is a simple service supervisor, currently built around the service interface of the suture project: https://github.com/thejerf/suture The top level function Run takes a registry and orchestrates the running of a daemon based on suture.Services implemented in the registry.
log
Package log defines a consistent logging API that can be used from registered objects.
Package log defines a consistent logging API that can be used from registered objects.
std
zap
web
auth/init
Package init is used to register the auth component with the default registry via side effect import.
Package init is used to register the auth component with the default registry via side effect import.
console/init
Package init is used to register the console component with the default registry via side effect import.
Package init is used to register the console component with the default registry via side effect import.
init
Package init is used to register the web component with the default registry via side effect import.
Package init is used to register the web component with the default registry via side effect import.
sessions/init
Package init is used to register the sessions component with the default registry via side effect import.
Package init is used to register the sessions component with the default registry via side effect import.

Jump to

Keyboard shortcuts

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