Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioParser ¶
type AudioParser struct{}
Handles parsing of audiobooks from an unstructured archive format containing audio files, such as ZAB (Zipped Audio Book) or a simple ZIP. It can also work for a standalone audio file.
func (AudioParser) Parse ¶
func (p AudioParser) Parse(asset asset.PublicationAsset, fetcher fetcher.Fetcher) (*pub.Builder, error)
Parse implements PublicationParser
type ImageParser ¶
type ImageParser struct{}
Parses an image–based Publication from an unstructured archive format containing bitmap files, such as CBZ or a simple ZIP. It can also work for a standalone bitmap file.
func (ImageParser) Parse ¶
func (p ImageParser) Parse(asset asset.PublicationAsset, fetcher fetcher.Fetcher) (*pub.Builder, error)
Parse implements PublicationParser
type PublicationParser ¶
type WebPubParser ¶
type WebPubParser struct {
// contains filtered or unexported fields
}
func NewWebPubParser ¶
func NewWebPubParser(client *http.Client) WebPubParser
func (WebPubParser) Parse ¶
func (p WebPubParser) Parse(asset asset.PublicationAsset, fetcher fetcher.Fetcher) (*pub.Builder, error)
Parse implements PublicationParser
Source Files ¶
Click to show internal directories.
Click to hide internal directories.