car

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0, MIT Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const ContentType = "application/vnd.ipld.car"

ContentType is the value the HTTP Content-Type header should have for CARs. See https://www.iana.org/assignments/media-types/application/vnd.ipld.car

Variables

This section is empty.

Functions

func Decode

func Decode(reader io.Reader) ([]ipld.Link, iterable.Iterator[ipld.Block], error)

func Encode

func Encode(roots []ipld.Link, blocks iterable.Iterator[ipld.Block]) io.Reader

Types

This section is empty.

Jump to

Keyboard shortcuts

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