Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseSite ¶ added in v0.12.3
type BaseSite interface { // Initialize will initialize the comic struct with the images link Initialize(comic *core.Comic) error // GetInfo will return the comic name and issue number GetInfo(url string) (string, string) // RetrieveIssueLinks will return the images links of a comic RetrieveIssueLinks() ([]string, error) }
BaseSite specifies an implementation of a Site which allows to retrieve a manga/comic basics info and imges links
type Comicextra ¶ added in v0.12.3
type Comicextra struct {
// contains filtered or unexported fields
}
Comicextra represents comicextra instance.
func NewComicextra ¶ added in v0.27.0
func NewComicextra(options *config.Options) *Comicextra
NewComicextra returs a comicextra instance.
func (*Comicextra) GetInfo ¶ added in v0.12.3
func (c *Comicextra) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given url.
func (*Comicextra) Initialize ¶ added in v0.12.3
func (c *Comicextra) Initialize(comic *core.Comic) error
Initialize will initialize the comic based on comicextra.com
func (*Comicextra) RetrieveIssueLinks ¶ added in v0.12.3
func (c *Comicextra) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type Mangadex ¶ added in v0.17.0
type Mangadex struct { Client *mangadex.Client // contains filtered or unexported fields }
Mangadex represents a mangadex instance.
func NewMangadex ¶ added in v0.17.0
NewMangadex returns a Mangadex instance
func (*Mangadex) Initialize ¶ added in v0.17.0
Initialize loads links and metadata from mangadex
func (*Mangadex) RetrieveIssueLinks ¶ added in v0.17.0
RetrieveIssueLinks retrieve the issue links for the given comic.
type Mangareader ¶ added in v0.12.3
type Mangareader struct {
// contains filtered or unexported fields
}
Mangareader represents a Mangareader instance
func NewMangareader ¶ added in v0.27.0
func NewMangareader(options *config.Options) *Mangareader
NewMangareader returns a mangareader instance.
func (*Mangareader) GetInfo ¶ added in v0.12.3
func (m *Mangareader) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given URL.
func (*Mangareader) Initialize ¶ added in v0.12.3
func (m *Mangareader) Initialize(comic *core.Comic) error
Initialize loads links and metadata from mangareader
func (*Mangareader) RetrieveIssueLinks ¶ added in v0.12.3
func (m *Mangareader) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type Mangatown ¶ added in v0.12.3
type Mangatown struct {
// contains filtered or unexported fields
}
Mangatown represents a Mangatown instance.
func NewMangatown ¶ added in v0.27.0
NewMangatown returns a new mangatown instance.
func (*Mangatown) Initialize ¶ added in v0.12.3
Initialize loads links and metadata from mangatown
func (*Mangatown) RetrieveIssueLinks ¶ added in v0.12.3
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type ReadComicOnline ¶ added in v0.24.0
type ReadComicOnline struct {
// contains filtered or unexported fields
}
ReadComicOnline represents a readcomiconline instance.
func NewReadComiconline ¶ added in v0.27.0
func NewReadComiconline(options *config.Options) *ReadComicOnline
NewReadComiconline returns a readcomiconline instance.
func (*ReadComicOnline) GetInfo ¶ added in v0.24.0
func (c *ReadComicOnline) GetInfo(url string) (string, string)
GetInfo extracts the basic info from the given url.
func (*ReadComicOnline) Initialize ¶ added in v0.24.0
func (c *ReadComicOnline) Initialize(comic *core.Comic) error
Initialize will initialize the comic based on ReadComicOnline.to
func (*ReadComicOnline) RetrieveIssueLinks ¶ added in v0.24.0
func (c *ReadComicOnline) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks gets a slice of urls for all issues in a comic
type Readallcomics ¶ added in v0.28.0
type Readallcomics struct {
// contains filtered or unexported fields
}
Readallcomics represents a Readallcomics instance.
func NewReadallcomics ¶ added in v0.28.0
func NewReadallcomics(options *config.Options) *Readallcomics
NewReadallcomics returns a new Readallcomics instance.
func (*Readallcomics) GetInfo ¶ added in v0.28.0
func (r *Readallcomics) GetInfo(url string) (string, string)
GetInfo extracts the comic info from the given URL.
func (*Readallcomics) Initialize ¶ added in v0.28.0
func (r *Readallcomics) Initialize(comic *core.Comic) error
Initialize prepare the comic instance with links and images.
func (*Readallcomics) RetrieveIssueLinks ¶ added in v0.28.0
func (r *Readallcomics) RetrieveIssueLinks() ([]string, error)
RetrieveIssueLinks retrieves the links to all the issue.