Discover Packages
github.com/ipfs/kubo
core
coredag
package
Version:
v0.4.18
Opens a new window with list of versions in this module.
Published: Nov 2, 2018
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
var DefaultInputEncParsers = InputEncParsers {
"json": defaultJSONParsers,
"raw": defaultRawParsers,
"cbor": defaultCborParsers,
"protobuf": defaultProtobufParsers,
}
DefaultInputEncParsers is InputEncParser that is used everywhere
ParseInputs uses DefaultInputEncParsers to parse io.Reader described by
input encoding and format to an instance of ipld Node
DagParser is function used for parsing stream into Node
FormatParsers is used for mapping format descriptors to DagParsers
InputEncParsers is used for mapping input encodings to FormatParsers
AddParser adds DagParser under give input encoding and format
ParseInputs parses io.Reader described by input encoding and format to
an instance of ipld Node
Source Files
¶
Click to show internal directories.
Click to hide internal directories.