Documentation ¶
Overview ¶
Package internal contains low-level utilities used by several parts of Gondola.
Users should not use this package nor any or this subpackages, since they're considered internal to Gondola, and only exported to avoid code repetition across several packages. As such, their interface might change at any time without prior notice.
Index ¶
Constants ¶
View Source
const ( LayerCachedKey = "___gondola_cached" LayerServedFromCacheKey = "___gondola_layer_served_from_cache" )
Constants set by gnd.la/cache/layer, read by gnd.la/app.Context
Variables ¶
This section is empty.
Functions ¶
func AppEngineAppHost ¶
func AppEngineAppHost() string
func AppEngineAppId ¶
func AppEngineAppId() string
func BytesToString ¶
func InAppEngine ¶
func InAppEngine() bool
func InAppEngineDevServer ¶
func InAppEngineDevServer() bool
func StringToBytes ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package astutil constains some small utilities for working with Go syntax trees.
|
Package astutil constains some small utilities for working with Go syntax trees. |
Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver.
|
Package bson is an implementation of the BSON specification for Go: http://bsonspec.org It was created as part of the mgo MongoDB driver for Go, but is standalone and may be used on its own without the driver. |
Package gen does code generation to automate tedious tasks.
|
Package gen does code generation to automate tedious tasks. |
genutil
Package genutil contains helper functions for autogenerating code.
|
Package genutil contains helper functions for autogenerating code. |
Package httpserve contains constants and utility functions for serving HTTP content.
|
Package httpserve contains constants and utility functions for serving HTTP content. |
Package pkgutil contains some small utilities for working with go packages.
|
Package pkgutil contains some small utilities for working with go packages. |
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. |
Package templateutil contains functions for parsing and walking go template trees.
|
Package templateutil contains functions for parsing and walking go template trees. |
Click to show internal directories.
Click to hide internal directories.