controllers

package
v0.0.0-...-2f3d8d3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

An open source project for personal blog website

An open source project for personal blog website

An open source project for personal blog website

An open source project for personal blog website

An open source project for personal blog website

An open source project for personal blog website

An open source project for personal blog website

An open source project for personal blog website

Index

Constants

View Source
const (
	BIG_PIC_PATH   = "./static/upload/bigpic/"
	SMALL_PIC_PATH = "./static/upload/smallpic/"
	FILE_PATH      = "./static/upload/attachment/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumController

type AlbumController struct {
	// contains filtered or unexported fields
}

func (*AlbumController) Add

func (this *AlbumController) Add()

创建相册

func (*AlbumController) Delete

func (this *AlbumController) Delete()

删除相册

func (*AlbumController) Edit

func (this *AlbumController) Edit()

修改

func (*AlbumController) List

func (this *AlbumController) List()

相册列表

func (*AlbumController) Prepare

func (this *AlbumController) Prepare()

type HomeController

type HomeController struct {
	beego.Controller
}

func (*HomeController) Get

func (this *HomeController) Get()

type LoginController

type LoginController struct {
	// contains filtered or unexported fields
}

func (*LoginController) Login

func (l *LoginController) Login()

func (*LoginController) Logout

func (this *LoginController) Logout()

退出登录

func (*LoginController) Prepare

func (this *LoginController) Prepare()

type MainController

type MainController struct {
	// contains filtered or unexported fields
}

func (*MainController) Index

func (this *MainController) Index()

func (*MainController) Prepare

func (this *MainController) Prepare()

func (*MainController) Profile

func (this *MainController) Profile()

资料修改

type PhotoController

type PhotoController struct {
	// contains filtered or unexported fields
}

func (*PhotoController) Cover

func (this *PhotoController) Cover()

设置封面

func (*PhotoController) Delete

func (this *PhotoController) Delete()

删除照片

func (*PhotoController) Insert

func (this *PhotoController) Insert(albumid int64, desc, url string)

插入照片

func (*PhotoController) List

func (this *PhotoController) List()

照片列表

func (*PhotoController) Prepare

func (this *PhotoController) Prepare()

func (*PhotoController) UploadPhoto

func (this *PhotoController) UploadPhoto()

上传照片)

type TopicController

type TopicController struct {
	// contains filtered or unexported fields
}

func (*TopicController) Add

func (this *TopicController) Add()

func (*TopicController) Batch

func (this *TopicController) Batch()

批处理

func (*TopicController) Delete

func (this *TopicController) Delete()

删除

func (*TopicController) Edit

func (this *TopicController) Edit()

编辑

func (*TopicController) List

func (this *TopicController) List()

文章列表

func (*TopicController) Prepare

func (this *TopicController) Prepare()

func (*TopicController) Save

func (this *TopicController) Save()

func (*TopicController) Upload

func (this *TopicController) Upload()

上传文件(用于文章图片上传,文章封面,说说封面)

type UserController

type UserController struct {
	// contains filtered or unexported fields
}

func (*UserController) Add

func (this *UserController) Add()

添加用户

func (*UserController) Delete

func (this *UserController) Delete()

删除用户

func (*UserController) Edit

func (this *UserController) Edit()

编辑用户

func (*UserController) List

func (this *UserController) List()

用户列表

func (*UserController) Prepare

func (this *UserController) Prepare()

Jump to

Keyboard shortcuts

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