Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultInputEncParsers = InputEncParsers{
"json": defaultJSONParsers,
"raw": defaultRawParsers,
"cbor": defaultCborParsers,
}
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
Click to show internal directories.
Click to hide internal directories.