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:
|
Package bson is an implementation of the BSON specification for Go: |
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. |
json
Package json generates methods for encoding/decoding types to/from JSON.
|
Package json generates methods for encoding/decoding types to/from JSON. |
strings
Package strings generates the String() method for enumeration types.
|
Package strings generates the String() method for enumeration types. |
Package httpserve contains constants and utility functions for serving HTTP content.
|
Package httpserve contains constants and utility functions for serving HTTP content. |
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. |
Package pkgutil contains some small utilities for working with go packages.
|
Package pkgutil contains some small utilities for working with go packages. |
Package project contains functions for managing Gondola projects.
|
Package project contains functions for managing Gondola projects. |
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 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. |
Package templateutil contains functions for parsing and walking go template trees.
|
Package templateutil contains functions for parsing and walking go template trees. |
Package vfsutil implements utility functions for working with virtual filesystems.
|
Package vfsutil implements utility functions for working with virtual filesystems. |
Click to show internal directories.
Click to hide internal directories.