app

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APP

type APP struct {
	API *api.API
}

func NewApp

func NewApp(api *api.API) *APP

func (*APP) GetBookInfo

func (sfacg *APP) GetBookInfo(bookId any) (gjson.Result, error)

func (*APP) GetBookListBySearchKeyword

func (sfacg *APP) GetBookListBySearchKeyword(keyword string, page any) ([]gjson.Result, error)

func (*APP) GetBookListByTag

func (sfacg *APP) GetBookListByTag(tagName string, page any) ([]gjson.Result, error)

func (*APP) GetChapterContentText

func (sfacg *APP) GetChapterContentText(chapterId any) (string, error)

func (*APP) GetChapterDirList

func (sfacg *APP) GetChapterDirList(bookId any, vipVerification bool, verificationFunc func(gjson.Result) bool) ([]gjson.Result, error)

GetChapterDirList get chapter list bookId:book id, vipVerification:whether vip verification is required, verificationFunc:verification function, return true to skip

func (*APP) GetCookie

func (sfacg *APP) GetCookie(username, password string) (string, error)

Jump to

Keyboard shortcuts

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