controllers

package
v0.0.0-...-96c9e65 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2013 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NumberOfPostsPerPage = 10
)
View Source
const (
	SessionKey = "_auth_user_id"
)

Variables

This section is empty.

Functions

func MarkdownCustom

func MarkdownCustom(input []byte) []byte

func Markup

func Markup(in string, needConvert bool) template.HTML

Types

type Html

type Html struct {
	*blackfriday.Html
}

func (*Html) BlockCode

func (options *Html) BlockCode(out *bytes.Buffer, text []byte, lang string)

func (*Html) BlockCodeNormal

func (options *Html) BlockCodeNormal(out *bytes.Buffer, text []byte, lang string)

type LoginController

type LoginController struct {
	beego.Controller
	// contains filtered or unexported fields
}

func (*LoginController) Get

func (this *LoginController) Get()

func (*LoginController) Post

func (this *LoginController) Post()

func (*LoginController) Prepare

func (this *LoginController) Prepare()

type LogoutController

type LogoutController struct {
	beego.Controller
}

func (*LogoutController) Get

func (this *LogoutController) Get()

type PostListController

type PostListController struct {
	beego.Controller
}

func (*PostListController) Get

func (this *PostListController) Get()

func (*PostListController) SetPaginator

func (this *PostListController) SetPaginator(per int, nums int) *utils.Paginator

Jump to

Keyboard shortcuts

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