Documentation ¶
Overview ¶
Package gondola provides a full featured web framework - see the documentation on the different subpackages for details.
Directories ¶
Path | Synopsis |
---|---|
Package app provides a mux implementation which does regexp based URL routing and provides functions for managing the lifecycle of a request at different points.
|
Package app provides a mux implementation which does regexp based URL routing and provides functions for managing the lifecycle of a request at different points. |
cookies
Package cookies contains helper functions for setting and retrieving cookies, including signed and encrypted ones.
|
Package cookies contains helper functions for setting and retrieving cookies, including signed and encrypted ones. |
serialize
Package serialize provides conveniency functions for serializing values to either JSON or XML
|
Package serialize provides conveniency functions for serializing values to either JSON or XML |
tester
Package tester implements functions for testing and benchmarking Gondola applications.
|
Package tester implements functions for testing and benchmarking Gondola applications. |
apps
|
|
ads
Package ads implements a small reusable app for easily displaying adversitesements from different providers.
|
Package ads implements a small reusable app for easily displaying adversitesements from different providers. |
articles
Package articles implements an app for displaying articles from files.
|
Package articles implements an app for displaying articles from files. |
articles/article
Package article includes common types and functions for the articles app and command.
|
Package article includes common types and functions for the articles app and command. |
articles/cmd/articles
The articles command is used for easily managing article files.
|
The articles command is used for easily managing article files. |
docs
Package docs implements a Gondola application for browsing package documentation.
|
Package docs implements a Gondola application for browsing package documentation. |
docs/doc/printer
Package printer implements printing of AST nodes.
|
Package printer implements printing of AST nodes. |
users
Package users implements an application for registering and authenticating users, including social sign ins.
|
Package users implements an application for registering and authenticating users, including social sign ins. |
Package blobstore implements a blob storage system with pluggable backends.
|
Package blobstore implements a blob storage system with pluggable backends. |
chunk
Package chunk includes several data chunking algorithms.
|
Package chunk includes several data chunking algorithms. |
chunk/fixed
Package fixed implements a chunker which returns chunks of fixed size (except for the last one).
|
Package fixed implements a chunker which returns chunks of fixed size (except for the last one). |
driver
Package driver includes the interfaces required to implement a blobstore driver.
|
Package driver includes the interfaces required to implement a blobstore driver. |
driver/file
Package file implements the file driver for the blobstore.
|
Package file implements the file driver for the blobstore. |
driver/gcs
Package gcs provides a Google Cloud Storage driver for the Blobstore.
|
Package gcs provides a Google Cloud Storage driver for the Blobstore. |
driver/gridfs
Package gridfs implements a GridFS driver for the blobstore.
|
Package gridfs implements a GridFS driver for the blobstore. |
driver/leveldb
Package leveldb implements the levelb driver for the blobstore.
|
Package leveldb implements the levelb driver for the blobstore. |
driver/s3
Package s3 implements an s3 driver for the blobstore.
|
Package s3 implements an s3 driver for the blobstore. |
Package bootstrap implements some helper functions intended to be used with the Bootstrap front-end framework.
|
Package bootstrap implements some helper functions intended to be used with the Bootstrap front-end framework. |
form
Package form implements a form renderer using Bootstrap.
|
Package form implements a form renderer using Bootstrap. |
Package cache implements a caching system with pluggable backends.
|
Package cache implements a caching system with pluggable backends. |
driver
Package driver includes the interfaces required to implement a Gondola cache driver, as well as the dummy, memory and file drivers.
|
Package driver includes the interfaces required to implement a Gondola cache driver, as well as the dummy, memory and file drivers. |
driver/memcache
Package memcache implements a Gondola cache driver using memcache.
|
Package memcache implements a Gondola cache driver using memcache. |
driver/redis
Package redis implements a Gondola cache driver using redis.
|
Package redis implements a Gondola cache driver using redis. |
layer
Package layer implements a cache layer which allows caching of complete responses.
|
Package layer implements a cache layer which allows caching of complete responses. |
cmd
|
|
Package commands provides functions for registering and executing administrative commands.
|
Package commands provides functions for registering and executing administrative commands. |
Package config implements a file/command line based configuration.
|
Package config implements a file/command line based configuration. |
crypto
|
|
cryptoutil
Package cryptoutil implements utility functions for signing, checking, encrypting and decrypting values.
|
Package cryptoutil implements utility functions for signing, checking, encrypting and decrypting values. |
hashutil
Package hashutil provides utility functions for hashing data.
|
Package hashutil provides utility functions for hashing data. |
password
Package password contains functions for securely storing and checking passwords.
|
Package password contains functions for securely storing and checking passwords. |
encoding
|
|
base64
Package base64 implements base64 encoding/decoding stripping any = used for padding, thus producing invalid base64 but saving a few bytes.
|
Package base64 implements base64 encoding/decoding stripping any = used for padding, thus producing invalid base64 but saving a few bytes. |
binary
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
|
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
codec
Package codec implements functions for encoding and decoding objects in several formats
|
Package codec implements functions for encoding and decoding objects in several formats |
codec/msgpack
Package msgpack provides a codec implementation using msgpack.
|
Package msgpack provides a codec implementation using msgpack. |
pipe
Package pipe implements pipes which transform data, generally for compressing it.
|
Package pipe implements pipes which transform data, generally for compressing it. |
Package html provides some basic data structures for declaring HTML elements using Go code.
|
Package html provides some basic data structures for declaring HTML elements using Go code. |
Package i18n implements support for translation and localization of Go applications.
|
Package i18n implements support for translation and localization of Go applications. |
messages
Package messages implements functions for extracting messages from source code files and compiling them to Go code.
|
Package messages implements functions for extracting messages from source code files and compiling them to Go code. |
Package internal contains low-level utilities used by several parts of Gondola.
|
Package internal contains low-level utilities used by several parts of Gondola. |
astutil
Package astutil constains some small utilities for working with Go syntax trees.
|
Package astutil constains some small utilities for working with Go syntax trees. |
bson
Package bson is an implementation of the BSON specification for Go:
|
Package bson is an implementation of the BSON specification for Go: |
gen
Package gen does code generation to automate tedious tasks.
|
Package gen does code generation to automate tedious tasks. |
gen/genutil
Package genutil contains helper functions for autogenerating code.
|
Package genutil contains helper functions for autogenerating code. |
gen/json
Package json generates methods for encoding/decoding types to/from JSON.
|
Package json generates methods for encoding/decoding types to/from JSON. |
gen/strings
Package strings generates the String() method for enumeration types.
|
Package strings generates the String() method for enumeration types. |
httpserve
Package httpserve contains constants and utility functions for serving HTTP content.
|
Package httpserve contains constants and utility functions for serving HTTP content. |
importer
Package importer implements an importer for go/types which imports packages from gc compiled objects and falls back to importing go code.
|
Package importer implements an importer for go/types which imports packages from gc compiled objects and falls back to importing go code. |
pkgutil
Package pkgutil contains some small utilities for working with go packages.
|
Package pkgutil contains some small utilities for working with go packages. |
project
Package project contains functions for managing Gondola projects.
|
Package project contains functions for managing Gondola projects. |
runtimeutil
Package runtimeutil contains some utility functions for formatting stack traces and source code.
|
Package runtimeutil contains some utility functions for formatting stack traces and source code. |
template
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection.
|
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection. |
templateutil
Package templateutil contains functions for parsing and walking go template trees.
|
Package templateutil contains functions for parsing and walking go template trees. |
vfsutil
Package vfsutil implements utility functions for working with virtual filesystems.
|
Package vfsutil implements utility functions for working with virtual filesystems. |
Package log implements low-level logging.
|
Package log implements low-level logging. |
net
|
|
httpclient
Package httpclient provides an HTTP client with several conveniency functions.
|
Package httpclient provides an HTTP client with several conveniency functions. |
mail
Package mail provides a conveniency interface over net/smtp, to facilitate the most common tasks when sending emails.
|
Package mail provides a conveniency interface over net/smtp, to facilitate the most common tasks when sending emails. |
oauth
Package oauth implements a oAuth 1.0a client.
|
Package oauth implements a oAuth 1.0a client. |
oauth2
Package oauth2 implements an oAuth 2 client.
|
Package oauth2 implements an oAuth 2 client. |
urlutil
Package urlutil contains utility functions related to URLs.
|
Package urlutil contains utility functions related to URLs. |
driver/datastore
Package datastore implements an App Engine datastore driver the Gondola's ORM.
|
Package datastore implements an App Engine datastore driver the Gondola's ORM. |
Package signal implements functions for emitting and receiving signals on events.
|
Package signal implements functions for emitting and receiving signals on events. |
Package tasks provides functions for scheduling periodic tasks (e.g.
|
Package tasks provides functions for scheduling periodic tasks (e.g. |
markdown
Package markdown implements a Markdown template converter.
|
Package markdown implements a Markdown template converter. |
util
|
|
fileutil
Package fileutil contains small utility functions for working with files.
|
Package fileutil contains small utility functions for working with files. |
generic
Package generic implements some utility functions which work on any type.
|
Package generic implements some utility functions which work on any type. |
geoip
Package geoip provides allows retrieving geographical information from an incoming request.
|
Package geoip provides allows retrieving geographical information from an incoming request. |
stringutil
Package stringutil contains small utility functions for string manipulation and parsing.
|
Package stringutil contains small utility functions for string manipulation and parsing. |
yaml
Package yaml provides functions for encoding/decoding YAML.
|
Package yaml provides functions for encoding/decoding YAML. |
Click to show internal directories.
Click to hide internal directories.