api

package
v0.0.0-...-a3d510d Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
}

Base Base

type Book

type Book struct {
	Base
}

Book Book

func NewBook

func NewBook() *Book

NewBook Book init

func (*Book) Add

func (t *Book) Add(r *ghttp.Request)

Add 添加新漫画

func (*Book) Delete

func (t *Book) Delete(r *ghttp.Request)

Delete 删除漫画

func (*Book) List

func (t *Book) List(r *ghttp.Request)

List 漫画列表 sort=+id,-name 排序 offset=10&limit=5 分页 /api/books[/:id]

func (*Book) Search

func (t *Book) Search(r *ghttp.Request)

Search 搜索

func (*Book) Update

func (t *Book) Update(r *ghttp.Request)

Update 更新漫画信息

type Chapter

type Chapter struct {
	Base
}

Chapter Chapter

func NewChapter

func NewChapter() *Chapter

NewChapter Chapter init

func (*Chapter) Delete

func (t *Chapter) Delete(r *ghttp.Request)

Delete 删除漫画章节

func (*Chapter) List

func (t *Chapter) List(r *ghttp.Request)

List 漫画列表 sort=+id,-name 排序 offset=10&limit=5 分页 /api/books/:book_id/chapters[/:id] /api/books/:book_id/parts[/:chapter_num]

func (*Chapter) Update

func (t *Chapter) Update(r *ghttp.Request)

Update 更新漫画章节

type Comic

type Comic struct {
	Base
}

Comic Comic

func NewComic

func NewComic() *Comic

NewComic Comic init

func (*Comic) Delete

func (t *Comic) Delete(r *ghttp.Request)

Delete 删除漫画图库

func (*Comic) List

func (t *Comic) List(r *ghttp.Request)

List 漫画列表 sort=+id,-name 排序 offset=10&limit=5 分页 /api/books/:book_id/chapters/:chapter_id/comics[/:id] /api/books/:book_id/chapters/:chapter_id/parts[/:comic_num]

Jump to

Keyboard shortcuts

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