Help us shape the future of Go! Take the 2026 Go Developer Survey

parser

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: BSD-3-Clause Imports: 13 Imported by: 1

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(ctx context.Context, 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(ctx context.Context, asset asset.PublicationAsset, fetcher fetcher.Fetcher) (*pub.Builder, error)

Parse implements PublicationParser

type PublicationParser

type PublicationParser interface {
	Parse(ctx context.Context, asset asset.PublicationAsset, f fetcher.Fetcher) (*pub.Builder, error)
}

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(ctx context.Context, asset asset.PublicationAsset, fetcher ftchr.Fetcher) (*pub.Builder, error)

Parse implements PublicationParser

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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