Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Secret string `json:"secret"` PublicPath string `json:"public_path"` TemplatePath string `json:"template_path"` Database ConfigurationDatabase }
func (*Configuration) Load ¶
func (configuration *Configuration) Load(filename string) (err error)
func (*Configuration) Parse ¶
func (configuration *Configuration) Parse(data []byte) (err error)
type ConfigurationDatabase ¶
type Controller ¶
type Controller struct { }
func (*Controller) GetDatabase ¶
func (controller *Controller) GetDatabase(c web.C) *mgo.Database
func (*Controller) GetSession ¶
func (controller *Controller) GetSession(c web.C) *sessions.Session
func (*Controller) GetTemplate ¶
func (controller *Controller) GetTemplate(c web.C) *template.Template
Click to show internal directories.
Click to hide internal directories.