admin

package
v0.0.0-...-3155b3f Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2015 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

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 AccountController

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

func (*AccountController) Login

func (this *AccountController) Login()

登录

func (*AccountController) Logout

func (this *AccountController) Logout()

退出登录

func (*AccountController) Prepare

func (this *AccountController) Prepare()

func (*AccountController) Profile

func (this *AccountController) Profile()

资料修改

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 ArticleController

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

func (*ArticleController) Add

func (this *ArticleController) Add()

添加

func (*ArticleController) Batch

func (this *ArticleController) Batch()

批处理

func (*ArticleController) Delete

func (this *ArticleController) Delete()

删除

func (*ArticleController) Edit

func (this *ArticleController) Edit()

编辑

func (*ArticleController) List

func (this *ArticleController) List()

管理

func (*ArticleController) Prepare

func (this *ArticleController) Prepare()

func (*ArticleController) Save

func (this *ArticleController) Save()

保存

func (*ArticleController) Upload

func (this *ArticleController) Upload()

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

type IndexController

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

func (*IndexController) Index

func (this *IndexController) Index()

func (*IndexController) Prepare

func (this *IndexController) Prepare()

type LinkController

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

func (*LinkController) Add

func (this *LinkController) Add()

添加友链

func (*LinkController) Delete

func (this *LinkController) Delete()

删除友链

func (*LinkController) Edit

func (this *LinkController) Edit()

编辑友链

func (*LinkController) List

func (this *LinkController) List()

友链列表

func (*LinkController) Prepare

func (this *LinkController) Prepare()

type MoodController

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

func (*MoodController) Add

func (this *MoodController) Add()

发表说说

func (*MoodController) Delete

func (this *MoodController) Delete()

删除说说

func (*MoodController) List

func (this *MoodController) List()

说说列表

func (*MoodController) Prepare

func (this *MoodController) Prepare()

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 SystemController

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

func (*SystemController) Prepare

func (this *SystemController) Prepare()

func (*SystemController) Setting

func (this *SystemController) Setting()

系统设置

type TagController

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

func (*TagController) Index

func (this *TagController) Index()

func (*TagController) Prepare

func (this *TagController) Prepare()

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