Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RevelContainer ¶
type RevelContainer struct { Controller RevelController Paths RevelPaths }
The single instance object that has the config populated to it
type RevelController ¶ added in v1.0.0
type RevelController struct { Reuse bool // True if the controllers are reused Set via revel.controller.reuse Stack *utils.SimpleLockStack // size set by revel.controller.stack, revel.controller.maxstack CachedMap map[string]*utils.SimpleLockStack // The map of reusable controllers CachedStackSize int // The default size of each stack in CachedMap Set via revel.cache.controller.stack CachedStackMaxSize int // The max size of each stack in CachedMap Set via revel.cache.controller.maxstack }
type RevelPaths ¶ added in v1.0.0
type RevelUnit ¶ added in v1.0.0
type RevelUnit struct { Name string // The friendly name for the unit Config string // The config file contents Type RevelUnitType // The type of the unit Messages string // The messages BasePath string // The filesystem path of the unit ImportPath string // The import path for the package Container *RevelContainer }
type RevelUnitList ¶ added in v1.0.0
type RevelUnitList []*RevelUnit
type RevelUnitType ¶ added in v1.0.0
type RevelUnitType int
const ( APP RevelUnitType = 1 // App always overrides all MODULE RevelUnitType = 2 // Module is next REVEL RevelUnitType = 3 // Revel is last )
Click to show internal directories.
Click to hide internal directories.