Documentation ¶
Index ¶
- Variables
- func BlogCacheDel(key string) error
- func BlogCacheGet(key string) interface{}
- func BlogCachePut(key string, val interface{}) error
- func BlogContentCacheDel(key int64) error
- func BlogContentCacheGet(key int64) string
- func BlogContentCachePut(key int64, val interface{}) error
- func CatalogCacheDel(key string) error
- func CatalogCacheGet(key string) interface{}
- func CatalogCachePut(key string, val interface{}) error
- func Decrypt(serialized string) string
- func Encrypt(plaintext string) string
- func InitEnv() error
- func LoadRSACipher() error
- func RenderMarkdown(mdStr string) string
- func UploadFile(localFile string, destName string) (addr string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BlogTitle string BlogResume string BlogLogo string QiniuAccessKey string QiniuSecretKey string QiniuScope string UseQiniu bool QiniuHttpDomain string IsQiniuPublicAccess bool = true QiniuCatalogUploadPath string LocalCatalogUploadPath string NSQAddr string )
View Source
var Cache cache.Cache
View Source
var Cfg = beego.AppConfig
View Source
var MemcachedCache cache.Cache
View Source
var RSAPrivateKey *rsa.PrivateKey
View Source
var RSAPublicKey *rsa.PublicKey
View Source
var RunMode string
Functions ¶
func BlogCacheDel ¶
func BlogCacheGet ¶
func BlogCacheGet(key string) interface{}
func BlogCachePut ¶
func BlogContentCacheDel ¶
func BlogContentCacheGet ¶
func BlogContentCachePut ¶
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.