Documentation ¶
Index ¶
Constants ¶
View Source
const AREA_CLASS = "ctpl_area"
View Source
const BLOCK_CLASS = "ctpl_block"
View Source
const CTPLR_TMPL = `` /* 2930-byte string literal not displayed */
View Source
const CTPLR_TMPL_REPL = `{{if .User}}{{template "CATERPILLAR" .}}{{end}}`
View Source
const DWAVE_END_REPL = `{{"}}"}}`
View Source
const DWAVE_START_REPL = `{{"{{"}}`
View Source
const LEAF_SUFFIX = ".leaf.html"
View Source
const MNG_ROOT_URL = "/caterpillar/static/mng/"
View Source
const STATIC_DIR = "static"
Variables ¶
View Source
var (
ErrPageAliasAlreadyExists = errors.New("caterpillar: Page alias already exists")
)
Functions ¶
Types ¶
type Wormhole ¶
type Wormhole struct { Name string `json:"name"` Alias string `json:"alias"` Global bool `json:"global"` Type WormholeType `json:"type"` }
type WormholeType ¶
type WormholeType string
const ( PROPERTY WormholeType = "PROPERTY" AREA WormholeType = "AREA" )
Click to show internal directories.
Click to hide internal directories.