package
0.4.4
Repository: https://github.com/readium/go-toolkit.git
Documentation: pkg.go.dev

# Functions

Equivalent to a 400 HTTP error.
Equivalent to a 403 HTTP error.
No description provided by the author
No description provided by the author
No description provided by the author
NewBytesResource creates a new BytesResources from a lazy loader callback.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Equivalent to a 404 HTTP error.
Convert a Go os error to an exception.
For any other error, such as HTTP 500.
Equivalent to a 507 HTTP error.
Equivalent to a 416 HTTP error.
No description provided by the author
No description provided by the author
No description provided by the author
Equivalent to a 504 HTTP error.
Equivalent to a 503 HTTP error.

# Constants

The rest of the codes.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
Error codes with HTTP equivalents.
The rest of the codes.

# Structs

Provides access to entries of an archive.
BytesResource is a Resource serving a lazy-loaded bytes buffer.
A [Fetcher] providing no resources at all.
Creates a Resource that will always return the given [error].
Provides access to resources on the local file system.
No description provided by the author
A base class for a [Resource] which acts as a proxy to another one.
Errors occurring while accessing a resource.
For opening a fetcher.Resource as a io.ReadSeeker.
Transforms the resources' content of a child fetcher using a list of [ResourceTransformer] functions.
* * Transforms the bytes of [resource] on-the-fly.

# Interfaces

Fetcher provides access to a Resource from a Link.
Acts as a proxy to an actual resource by handling read access.

# Type aliases

No description provided by the author
* * Implements the transformation of a Resource.