Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2016 Changes in this version + func Init(env string) error + func IocAction(act func(*config.Model, *cli.Context) error) func(c *cli.Context) + type Dao struct + Aes *core.Aes + Db *gorm.DB + func (p *Dao) Get(key string, val interface{}) error + func (p *Dao) GetSiteInfo(key, lang string) string + func (p *Dao) GetString(key string) string + func (p *Dao) Languages() []string + func (p *Dao) Locale(lang, code, msg string) error + func (p *Dao) Set(key string, val interface{}, flag bool) error + func (p *Dao) SetSiteInfo(key, lang string, val interface{}, flag bool) error + type Locale struct + Code string + Lang string + Message string + type Notice struct + Content string + Lang string + type Setting struct + Flag bool + Key string + Val []byte + type SiteEngine struct + Cache cache.Provider + Cfg *config.Model + Dao *Dao + Db *gorm.DB + Logger *logging.Logger + Render *render.Render + func (p *SiteEngine) Asserts() []*core.Template + func (p *SiteEngine) Migrate() + func (p *SiteEngine) Mount(rt core.Router) + func (p *SiteEngine) Rss() rss.Handler + func (p *SiteEngine) Seed() error + func (p *SiteEngine) Shell() []cli.Command + func (p *SiteEngine) Sitemap() sitemap.Handler + type SiteModel struct + AuthorEmail string + AuthorName string + Copyright string + Description string + Keywords string + Lang string + SubTitle string + Title string