3 import "github.com/revel/revel/utils"
5 // The single instance object that has the config populated to it
6 type RevelContainer struct {
8 Reuse bool // True if the controllers are reused Set via revel.controller.reuse
9 Stack *utils.SimpleLockStack // size set by revel.controller.stack, revel.controller.maxstack
10 CachedMap map[string]*utils.SimpleLockStack // The map of reusable controllers
11 CachedStackSize int // The default size of each stack in CachedMap Set via revel.cache.controller.stack
12 CachedStackMaxSize int // The max size of each stack in CachedMap Set via revel.cache.controller.maxstack