Documentation ¶
Index ¶
- Variables
- func BlogCacheDel(key string) error
- func BlogCacheGet(key string) interface{}
- func BlogCachePut(key string, val interface{}) error
- func CatalogCacheDel(key string) error
- func CatalogCacheGet(key string) interface{}
- func CatalogCachePut(key string, val interface{}) error
- func InitEnv()
- func RenderMarkdown(mdStr string) string
- func UploadFile(localFile string, destName string) (addr string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootEmail string RootName string RootPass string RootPortrait string BlogTitle string BlogResume string BlogLogo string QiniuAccessKey string QiniuSecretKey string QiniuScope string UseQiniu bool )
View Source
var Cache cache.Cache
View Source
var Cfg = beego.AppConfig
View Source
var RunMode string
Functions ¶
func BlogCacheDel ¶
func BlogCacheGet ¶
func BlogCacheGet(key string) interface{}
func BlogCachePut ¶
func CatalogCacheDel ¶
func CatalogCacheGet ¶
func CatalogCacheGet(key string) interface{}
func CatalogCachePut ¶
func RenderMarkdown ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.