book

package
v0.0.0-...-783c0ba Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Comment

func Comment(c *core.Context)

添加评论

func Create

func Create(c *core.Context)

Create 创建项目.

func CreateToken

func CreateToken(c *core.Context)

CreateToken 创建访问来令牌.

func Dashboard

func Dashboard(c *core.Context)

Dashboard 项目概要 .

func Delete

func Delete(c *core.Context)

Delete 删除项目.

func DownloadProject

func DownloadProject(c *core.Context)

从github等拉取下载markdown项目

func GitPull

func GitPull(c *core.Context)

从Git仓库拉取项目

func Index

func Index(c *core.Context)

func PrivatelyOwned

func PrivatelyOwned(c *core.Context)

设置项目私有状态.

func Release

func Release(c *core.Context)

发布项目.

func Replace

func Replace(c *core.Context)

替换字符串

func SaveBook

func SaveBook(c *core.Context)

保存项目信息

func SaveSort

func SaveSort(c *core.Context)

文档排序.

func Score

func Score(c *core.Context)

给文档项目打分

func Setting

func Setting(c *core.Context)

Setting 项目设置 .

func Star

func Star(c *core.Context)

收藏书籍

func Transfer

func Transfer(c *core.Context)

Transfer 转让项目.

func UploadCover

func UploadCover(c *core.Context)

上传项目封面.

func UploadProject

func UploadProject(c *core.Context)

上传项目

func Users

func Users(c *core.Context)

Users 用户列表.

Types

type ReqIndex

type ReqIndex struct {
	Private int `json:"private"form:"private"`
	Page    int `json:"page"form:"page"`
}

type ReqUploadCover

type ReqUploadCover struct {
	X      float64 `form:"x"`
	Y      float64 `form:"y"`
	Width  float64 `form:"width"`
	Height float64 `form:"height"`
}

Jump to

Keyboard shortcuts

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