Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultInputEncParsers = InputEncParsers{
"json": defaultJSONParsers,
"raw": defaultRawParsers,
}
DefaultInputEncParsers is InputEncParser that is used everywhere
Functions ¶
Types ¶
type FormatParsers ¶
FormatParsers is used for mapping format descriptors to DagParsers
type InputEncParsers ¶
type InputEncParsers map[string]FormatParsers
InputEncParsers is used for mapping input encodings to FormatParsers
func (InputEncParsers) AddParser ¶
func (iep InputEncParsers) AddParser(ienv, format string, f DagParser)
AddParser adds DagParser under give input encoding and format
func (InputEncParsers) ParseInputs ¶
ParseInputs parses io.Reader described by input encoding and format to an instance of ipld Node
Click to show internal directories.
Click to hide internal directories.