cli

package
v0.3.82 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitTag string
)

Functions

func Backup added in v0.1.85

func Backup() error

func BackupHandler added in v0.1.85

func BackupHandler(_ *url.URL) error

func Cascade added in v0.2.1

func Cascade() error

func CascadeHandler added in v0.2.1

func CascadeHandler(_ *url.URL) error

func Dehydrate added in v0.2.26

func Dehydrate(force bool, artsIds ...string) error

func DehydrateHandler added in v0.2.26

func DehydrateHandler(u *url.URL) error

func DownloadLitResBooks added in v0.3.0

func DownloadLitResBooks(hc *http.Client, force bool, artsIds ...string) error

func DownloadLitResBooksHandler added in v0.3.0

func DownloadLitResBooksHandler(u *url.URL) error

func DownloadLitResCovers added in v0.3.0

func DownloadLitResCovers(skipExisting, force bool, artsIds ...string) error

func DownloadLitResCoversHandler added in v0.3.0

func DownloadLitResCoversHandler(u *url.URL) error

func GetLitResArts added in v0.2.82

func GetLitResArts(artsTypes []litres_integration.ArtsType, hc *http.Client, force bool, artsIds ...string) error

func GetLitResArtsHandler added in v0.2.82

func GetLitResArtsHandler(u *url.URL) error

func GetLitResAuthors added in v0.2.82

func GetLitResAuthors(authorTypes []litres_integration.AuthorType, hc *http.Client, force bool, personsIds ...string) error

func GetLitResAuthorsHandler added in v0.2.82

func GetLitResAuthorsHandler(u *url.URL) error

func GetLitResContentsHandler added in v0.3.0

func GetLitResContentsHandler(u *url.URL) error

func GetLitResHistoryLog added in v0.3.0

func GetLitResHistoryLog(sessionId string, hc *http.Client) error

func GetLitResHistoryLogHandler added in v0.3.0

func GetLitResHistoryLogHandler(u *url.URL) error

func GetLitResSeries added in v0.2.82

func GetLitResSeries(seriesTypes []litres_integration.SeriesType, hc *http.Client, force bool, seriesIds ...string) error

func GetLitResSeriesHandler added in v0.2.82

func GetLitResSeriesHandler(u *url.URL) error

func GetLitresContents added in v0.3.0

func GetLitresContents(hc *http.Client, force bool, ids ...string) error

func GetRecentArts added in v0.3.18

func GetRecentArts(force bool) ([]string, error)

func GetRecentArtsHandler added in v0.3.18

func GetRecentArtsHandler(u *url.URL) error

func GetRecentPersons added in v0.3.18

func GetRecentPersons(force bool, recentArtsIds ...string) ([]string, error)

func GetRecentPersonsHandler added in v0.3.18

func GetRecentPersonsHandler(u *url.URL) error

func GetRecentSeries added in v0.3.18

func GetRecentSeries(force bool, recentArtsIds ...string) ([]string, error)

func GetRecentSeriesHandler added in v0.3.18

func GetRecentSeriesHandler(u *url.URL) error

func GetSessionId added in v0.3.16

func GetSessionId(hc *http.Client) (string, error)

func GetSessionIdHandler added in v0.3.16

func GetSessionIdHandler(u *url.URL) error

func GetVideosMetadata added in v0.3.32

func GetVideosMetadata(force bool) error

func GetVideosMetadataHandler added in v0.3.32

func GetVideosMetadataHandler(u *url.URL) error

func HasArts added in v0.3.16

func HasArts(sessionId string, hc *http.Client) error

func HasArtsHandler added in v0.3.16

func HasArtsHandler(u *url.URL) error

func Migrate added in v0.3.12

func Migrate() error

func MigrateHandler added in v0.3.12

func MigrateHandler(_ *url.URL) error

func ReduceLitResArtsDetails added in v0.3.0

func ReduceLitResArtsDetails() error

func ReduceLitResArtsDetailsHandler added in v0.3.0

func ReduceLitResArtsDetailsHandler(_ *url.URL) error

func ReduceLitResHistoryLog added in v0.3.0

func ReduceLitResHistoryLog() error

func ReduceLitResHistoryLogHandler added in v0.3.0

func ReduceLitResHistoryLogHandler(_ *url.URL) error

func Serve

func Serve(port int, stderr bool) error

func ServeHandler added in v0.1.5

func ServeHandler(u *url.URL) error

func Sync

func Sync(force bool) error

func SyncHandler added in v0.1.5

func SyncHandler(u *url.URL) error

func VersionHandler added in v0.1.5

func VersionHandler(_ *url.URL) error

Types

type PersonalCabinetHistoryLog added in v0.3.0

type PersonalCabinetHistoryLog struct {
	Pages int `json:"pages"`
}

Jump to

Keyboard shortcuts

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