Documentation ¶
Overview ¶
Package Goodies provides a collection of helper libraries useful for building a web app
Directories ¶
Path | Synopsis |
---|---|
ansi
|
|
sprockets
Package sprockets integrates the power of sprockets ( http://getsprockets.org ) with your go program.
|
Package sprockets integrates the power of sprockets ( http://getsprockets.org ) with your go program. |
Package config provides helper functions for reading a JSON formatted configuration file into an arbitrary struct
|
Package config provides helper functions for reading a JSON formatted configuration file into an arbitrary struct |
Package depinject provides a simple Dependency Injector.
|
Package depinject provides a simple Dependency Injector. |
Package goanna is an MVC toolkit with routing, controllers and sessions
|
Package goanna is an MVC toolkit with routing, controllers and sessions |
session
Package session implements a cookie session store for goanna
|
Package session implements a cookie session store for goanna |
cachecontrol
Package cachecontrol provides an HTTP decorator which adds cache-control headers to outgoing responses
|
Package cachecontrol provides an HTTP decorator which adds cache-control headers to outgoing responses |
log
Package log is for http logging
|
Package log is for http logging |
panichandler
Package panichandler provides An HTTP decorator which recovers from `panic`
|
Package panichandler provides An HTTP decorator which recovers from `panic` |
ratelimiter
Package http decorates an http.Handler and prevents too many requests being made
|
Package http decorates an http.Handler and prevents too many requests being made |
secure_headers
Package secure_headers decorates an http.Handler and sets several key security headers
|
Package secure_headers decorates an http.Handler and sets several key security headers |
secure_headers/csp
package csp implements a content-security-policy header generator
|
package csp implements a content-security-policy header generator |
Package i18n implements a gettext based translation library with XLiff support
|
Package i18n implements a gettext based translation library with XLiff support |
Package mailer provides email delivery (current delivery methods are 'postmark' and 'test')
|
Package mailer provides email delivery (current delivery methods are 'postmark' and 'test') |
postmark
Package postmark implements a backend for 'mailer' via postmark
|
Package postmark implements a backend for 'mailer' via postmark |
test_mailer
Package test_mailer implements a backend for 'mailer' which writes emails to STDOUT instead of sending them
|
Package test_mailer implements a backend for 'mailer' which writes emails to STDOUT instead of sending them |
Package monitor implements an instrumentation interface.
|
Package monitor implements an instrumentation interface. |
db
Package monitor/db decorates database/sql drivers with query logging and timings
|
Package monitor/db decorates database/sql drivers with query logging and timings |
Package ratelimiter implements the Leaky Bucket ratelimiting algorithm with memcached and in-memory backends.
|
Package ratelimiter implements the Leaky Bucket ratelimiting algorithm with memcached and in-memory backends. |
Package stringslice implements simple functions to manipulate string slices
|
Package stringslice implements simple functions to manipulate string slices |
test
|
|
expect
Package expect has a few test utils.
|
Package expect has a few test utils. |
time_cop
Package timecop implements a stub to use in place of time.Time
|
Package timecop implements a stub to use in place of time.Time |
Click to show internal directories.
Click to hide internal directories.