g

package
v0.0.0-...-ba6d2b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RootEmail      string
	RootName       string
	RootPass       string
	RootPortrait   string
	BlogTitle      string
	BlogResume     string
	QiniuAccessKey string
	QiniuSecretKey string
	QiniuScope     string
	UseQiniu       bool
)
View Source
var Cache cache.Cache
View Source
var RunMode string

Functions

func BlogCacheDel

func BlogCacheDel(key string) error

func BlogCacheGet

func BlogCacheGet(key string) interface{}

func BlogCachePut

func BlogCachePut(key string, val interface{}) error

func CatalogCacheDel

func CatalogCacheDel(key string) error

func CatalogCacheGet

func CatalogCacheGet(key string) interface{}

func CatalogCachePut

func CatalogCachePut(key string, val interface{}) error

func InitEnv

func InitEnv()

func RenderMarkdown

func RenderMarkdown(mdStr string) string

func UploadFile

func UploadFile(localFile string, destName string) (addr string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL