book

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

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

Go to latest
Published: Nov 5, 2018 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chapter

func Chapter(c *gin.Context)

Chapter 查询章节, 若图书是私有的,那么只有作者本人才能查看

func Chapters

func Chapters(c *gin.Context)

Chapters 获取图书的所有章节, 若图书是私有的,那么只有作者本人才能查看

func Create

func Create(c *gin.Context)

Create 创建图书

func CreateChapter

func CreateChapter(c *gin.Context)

CreateChapter 创建图书的章节

func Delete

func Delete(c *gin.Context)

Delete 删除图书

func DeleteChapter

func DeleteChapter(c *gin.Context)

DeleteChapter 删除图书的章节

func Info

func Info(c *gin.Context)

Info 获取图书信息, 若图书是私有的,那么只有作者本人才能查看

func List

func List(c *gin.Context)

List 获取图书列表

func MyBooks

func MyBooks(c *gin.Context)

MyBooks 获取我创建的图书列表

func Publish

func Publish(c *gin.Context)

Publish 发布图书

func Save

func Save(c *gin.Context, isEdit bool)

Save 保存图书(创建或更新)

func Update

func Update(c *gin.Context)

Update 更新图书

func UpdateChapterContent

func UpdateChapterContent(c *gin.Context)

UpdateChapterContent 更新图书的章节内容

func UpdateChapterName

func UpdateChapterName(c *gin.Context)

UpdateChapterName 更新图书的章节的名称

func UpdateName

func UpdateName(c *gin.Context)

UpdateName 更新图书名称

func UserPublicBooks

func UserPublicBooks(c *gin.Context)

UserPublicBooks 用户公开的图书列表

Types

This section is empty.

Jump to

Keyboard shortcuts

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