models

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Downloads added in v0.1.3

type Downloads struct {
	FileType string
	Url      string
}

type Fanfic

type Fanfic struct {
	WorkID    string
	ChapterID string
	Debug     bool
}

type FanficID added in v0.1.3

type FanficID struct {
	WorkID    string
	ChapterID string
}

FanficID

type FanficParams added in v0.1.2

type FanficParams struct {
	Addr      string
	WorkID    string
	ChapterID string
	Debug     bool
	ProxyURLs []string
}
type Search struct {
	AnyField         string
	Title            string
	Author           string
	Oneshot          bool
	Language         string
	CompletionStatus bool
	Fandoms          string
	Relationship     string
}

type User

type User struct {
	Username  string
	Profile   UserProfile
	Works     []Work
	Bookmarks []Work
	Gift      []Work
}

type UserParams added in v0.1.3

type UserParams struct {
	Addr      string
	Username  string
	Debug     bool
	ProxyURLs []string
}

type UserProfile

type UserProfile struct {
	Pseuds   string
	JoinDate string
	Email    string
	Bio      string
}

type Work

type Work struct {
	URL             string      `json:"URL,omitempty"`
	WorkID          string      `json:"WorkID,omitempty"`
	ChapterID       string      `json:"ChapterID,omitempty"`
	ChapterTitle    string      `json:"ChapterTitle,omitempty"`
	Title           string      `json:"Title,omitempty"`
	Author          []string    `json:"Author,omitempty"`
	Published       string      `json:"Published,omitempty"`
	Updated         string      `json:"Updated,omitempty"`
	Words           string      `json:"Words,omitempty"`
	Chapters        string      `json:"Chapters,omitempty"`
	Comments        string      `json:"Comments,omitempty"`
	Kudos           string      `json:"Kudos,omitempty"`
	Bookmarks       string      `json:"Bookmarks,omitempty"`
	Hits            string      `json:"Hits,omitempty"`
	Fandom          []string    `json:"Fandom,omitempty"`
	Summary         []string    `json:"Summary,omitempty"`
	ChaptersTitles  []string    `json:"ChaptersTitles,omitempty"`
	ChaptersIDs     []string    `json:"ChaptersIDs,omitempty"`
	Relationship    []string    `json:"Relationship,omitempty"`
	AlternativeTags []string    `json:"AlternativeTags,omitempty"`
	Downloads       []Downloads `json:"Downloads,omitempty"`
}

Work ..

Jump to

Keyboard shortcuts

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