Documentation ¶
Index ¶
- Variables
- func Decode(na ipld.NodeAssembler, r io.Reader) error
- func DecodeBlob(na ipld.NodeAssembler, rd *bufio.Reader) error
- func DecodeBlock(block blocks.Block) (ipld.Node, error)
- func DecodeCommit(na ipld.NodeAssembler, rd *bufio.Reader) error
- func DecodeTag(na ipld.NodeAssembler, rd *bufio.Reader) error
- func DecodeTree(na ipld.NodeAssembler, rd *bufio.Reader) error
- func DecodeTreeEntry(rd *bufio.Reader) (string, ipld.Node, error)
- func Encode(n ipld.Node, w io.Writer) error
- func ParseCompressedObject(r io.Reader) (ipld.Node, error)
- func ParseObject(r io.Reader) (ipld.Node, error)
- func ParseObjectFromBuffer(b []byte) (ipld.Node, error)
- type Blob
- func (Blob) AsBool() (bool, error)
- func (n Blob) AsBytes() ([]byte, error)
- func (Blob) AsFloat() (float64, error)
- func (Blob) AsInt() (int64, error)
- func (Blob) AsLink() (ipld.Link, error)
- func (Blob) AsString() (string, error)
- func (n Blob) Bytes() []byte
- func (Blob) IsAbsent() bool
- func (Blob) IsNull() bool
- func (Blob) Kind() ipld.Kind
- func (Blob) Length() int64
- func (Blob) ListIterator() ipld.ListIterator
- func (Blob) LookupByIndex(idx int64) (ipld.Node, error)
- func (Blob) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Blob) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Blob) LookupByString(string) (ipld.Node, error)
- func (Blob) MapIterator() ipld.MapIterator
- func (Blob) Prototype() ipld.NodePrototype
- func (n Blob) Representation() ipld.Node
- func (Blob) Type() schema.Type
- type Commit
- func (Commit) AsBool() (bool, error)
- func (Commit) AsBytes() ([]byte, error)
- func (Commit) AsFloat() (float64, error)
- func (Commit) AsInt() (int64, error)
- func (Commit) AsLink() (ipld.Link, error)
- func (Commit) AsString() (string, error)
- func (Commit) IsAbsent() bool
- func (Commit) IsNull() bool
- func (Commit) Kind() ipld.Kind
- func (Commit) Length() int64
- func (Commit) ListIterator() ipld.ListIterator
- func (Commit) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Commit) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n Commit) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Commit) LookupByString(key string) (ipld.Node, error)
- func (n Commit) MapIterator() ipld.MapIterator
- func (Commit) Prototype() ipld.NodePrototype
- func (n Commit) Representation() ipld.Node
- func (Commit) Type() schema.Type
- type Commit_Link
- func (Commit_Link) AsBool() (bool, error)
- func (Commit_Link) AsBytes() ([]byte, error)
- func (Commit_Link) AsFloat() (float64, error)
- func (Commit_Link) AsInt() (int64, error)
- func (n Commit_Link) AsLink() (ipld.Link, error)
- func (Commit_Link) AsString() (string, error)
- func (Commit_Link) IsAbsent() bool
- func (Commit_Link) IsNull() bool
- func (Commit_Link) Kind() ipld.Kind
- func (Commit_Link) Length() int64
- func (n Commit_Link) Link() ipld.Link
- func (Commit_Link) LinkTargetNodePrototype() ipld.NodePrototype
- func (Commit_Link) ListIterator() ipld.ListIterator
- func (Commit_Link) LookupByIndex(idx int64) (ipld.Node, error)
- func (Commit_Link) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Commit_Link) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Commit_Link) LookupByString(string) (ipld.Node, error)
- func (Commit_Link) MapIterator() ipld.MapIterator
- func (Commit_Link) Prototype() ipld.NodePrototype
- func (n Commit_Link) Representation() ipld.Node
- func (Commit_Link) Type() schema.Type
- type Commit_Link_List
- func (Commit_Link_List) AsBool() (bool, error)
- func (Commit_Link_List) AsBytes() ([]byte, error)
- func (Commit_Link_List) AsFloat() (float64, error)
- func (Commit_Link_List) AsInt() (int64, error)
- func (Commit_Link_List) AsLink() (ipld.Link, error)
- func (Commit_Link_List) AsString() (string, error)
- func (Commit_Link_List) IsAbsent() bool
- func (Commit_Link_List) IsNull() bool
- func (n Commit_Link_List) Iterator() *Commit_Link_List__Itr
- func (Commit_Link_List) Kind() ipld.Kind
- func (n Commit_Link_List) Length() int64
- func (n Commit_Link_List) ListIterator() ipld.ListIterator
- func (n Commit_Link_List) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Commit_Link_List) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n Commit_Link_List) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Commit_Link_List) LookupByString(string) (ipld.Node, error)
- func (Commit_Link_List) MapIterator() ipld.MapIterator
- func (Commit_Link_List) Prototype() ipld.NodePrototype
- func (n Commit_Link_List) Representation() ipld.Node
- func (Commit_Link_List) Type() schema.Type
- type Commit_Link_List__Itr
- type GpgSig
- func (GpgSig) AsBool() (bool, error)
- func (GpgSig) AsBytes() ([]byte, error)
- func (GpgSig) AsFloat() (float64, error)
- func (GpgSig) AsInt() (int64, error)
- func (GpgSig) AsLink() (ipld.Link, error)
- func (n GpgSig) AsString() (string, error)
- func (GpgSig) IsAbsent() bool
- func (GpgSig) IsNull() bool
- func (GpgSig) Kind() ipld.Kind
- func (GpgSig) Length() int64
- func (GpgSig) ListIterator() ipld.ListIterator
- func (GpgSig) LookupByIndex(idx int64) (ipld.Node, error)
- func (GpgSig) LookupByNode(ipld.Node) (ipld.Node, error)
- func (GpgSig) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (GpgSig) LookupByString(string) (ipld.Node, error)
- func (GpgSig) MapIterator() ipld.MapIterator
- func (GpgSig) Prototype() ipld.NodePrototype
- func (n GpgSig) Representation() ipld.Node
- func (n GpgSig) String() string
- func (GpgSig) Type() schema.Type
- type Link
- func (Link) AsBool() (bool, error)
- func (Link) AsBytes() ([]byte, error)
- func (Link) AsFloat() (float64, error)
- func (Link) AsInt() (int64, error)
- func (n Link) AsLink() (ipld.Link, error)
- func (Link) AsString() (string, error)
- func (Link) IsAbsent() bool
- func (Link) IsNull() bool
- func (Link) Kind() ipld.Kind
- func (Link) Length() int64
- func (n Link) Link() ipld.Link
- func (Link) ListIterator() ipld.ListIterator
- func (Link) LookupByIndex(idx int64) (ipld.Node, error)
- func (Link) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Link) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Link) LookupByString(string) (ipld.Node, error)
- func (Link) MapIterator() ipld.MapIterator
- func (Link) Prototype() ipld.NodePrototype
- func (n Link) Representation() ipld.Node
- func (Link) Type() schema.Type
- type MaybeBlob
- type MaybeCommit
- type MaybeCommit_Link
- type MaybeCommit_Link_List
- type MaybeGpgSig
- type MaybeLink
- type MaybePersonInfo
- type MaybeString
- type MaybeString_List
- type MaybeTag
- type MaybeTag_List
- type MaybeTree
- type MaybeTreeEntry
- type MaybeTree_Link
- type PersonInfo
- func (PersonInfo) AsBool() (bool, error)
- func (PersonInfo) AsBytes() ([]byte, error)
- func (PersonInfo) AsFloat() (float64, error)
- func (PersonInfo) AsInt() (int64, error)
- func (PersonInfo) AsLink() (ipld.Link, error)
- func (PersonInfo) AsString() (string, error)
- func (PersonInfo) IsAbsent() bool
- func (PersonInfo) IsNull() bool
- func (PersonInfo) Kind() ipld.Kind
- func (PersonInfo) Length() int64
- func (PersonInfo) ListIterator() ipld.ListIterator
- func (PersonInfo) LookupByIndex(idx int64) (ipld.Node, error)
- func (n PersonInfo) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n PersonInfo) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n PersonInfo) LookupByString(key string) (ipld.Node, error)
- func (n PersonInfo) MapIterator() ipld.MapIterator
- func (PersonInfo) Prototype() ipld.NodePrototype
- func (n PersonInfo) Representation() ipld.Node
- func (PersonInfo) Type() schema.Type
- type String
- func (String) AsBool() (bool, error)
- func (String) AsBytes() ([]byte, error)
- func (String) AsFloat() (float64, error)
- func (String) AsInt() (int64, error)
- func (String) AsLink() (ipld.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Kind() ipld.Kind
- func (String) Length() int64
- func (String) ListIterator() ipld.ListIterator
- func (String) LookupByIndex(idx int64) (ipld.Node, error)
- func (String) LookupByNode(ipld.Node) (ipld.Node, error)
- func (String) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (String) LookupByString(string) (ipld.Node, error)
- func (String) MapIterator() ipld.MapIterator
- func (String) Prototype() ipld.NodePrototype
- func (n String) Representation() ipld.Node
- func (n String) String() string
- func (String) Type() schema.Type
- type String_List
- func (String_List) AsBool() (bool, error)
- func (String_List) AsBytes() ([]byte, error)
- func (String_List) AsFloat() (float64, error)
- func (String_List) AsInt() (int64, error)
- func (String_List) AsLink() (ipld.Link, error)
- func (String_List) AsString() (string, error)
- func (String_List) IsAbsent() bool
- func (String_List) IsNull() bool
- func (n String_List) Iterator() *String_List__Itr
- func (String_List) Kind() ipld.Kind
- func (n String_List) Length() int64
- func (n String_List) ListIterator() ipld.ListIterator
- func (n String_List) LookupByIndex(idx int64) (ipld.Node, error)
- func (n String_List) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n String_List) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (String_List) LookupByString(string) (ipld.Node, error)
- func (String_List) MapIterator() ipld.MapIterator
- func (String_List) Prototype() ipld.NodePrototype
- func (n String_List) Representation() ipld.Node
- func (String_List) Type() schema.Type
- type String_List__Itr
- type Tag
- func (Tag) AsBool() (bool, error)
- func (Tag) AsBytes() ([]byte, error)
- func (Tag) AsFloat() (float64, error)
- func (Tag) AsInt() (int64, error)
- func (Tag) AsLink() (ipld.Link, error)
- func (Tag) AsString() (string, error)
- func (Tag) IsAbsent() bool
- func (Tag) IsNull() bool
- func (Tag) Kind() ipld.Kind
- func (Tag) Length() int64
- func (Tag) ListIterator() ipld.ListIterator
- func (Tag) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Tag) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n Tag) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Tag) LookupByString(key string) (ipld.Node, error)
- func (n Tag) MapIterator() ipld.MapIterator
- func (Tag) Prototype() ipld.NodePrototype
- func (n Tag) Representation() ipld.Node
- func (Tag) Type() schema.Type
- type Tag_List
- func (Tag_List) AsBool() (bool, error)
- func (Tag_List) AsBytes() ([]byte, error)
- func (Tag_List) AsFloat() (float64, error)
- func (Tag_List) AsInt() (int64, error)
- func (Tag_List) AsLink() (ipld.Link, error)
- func (Tag_List) AsString() (string, error)
- func (Tag_List) IsAbsent() bool
- func (Tag_List) IsNull() bool
- func (n Tag_List) Iterator() *Tag_List__Itr
- func (Tag_List) Kind() ipld.Kind
- func (n Tag_List) Length() int64
- func (n Tag_List) ListIterator() ipld.ListIterator
- func (n Tag_List) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Tag_List) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n Tag_List) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Tag_List) LookupByString(string) (ipld.Node, error)
- func (Tag_List) MapIterator() ipld.MapIterator
- func (Tag_List) Prototype() ipld.NodePrototype
- func (n Tag_List) Representation() ipld.Node
- func (Tag_List) Type() schema.Type
- type Tag_List__Itr
- type Tree
- func (Tree) AsBool() (bool, error)
- func (Tree) AsBytes() ([]byte, error)
- func (Tree) AsFloat() (float64, error)
- func (Tree) AsInt() (int64, error)
- func (Tree) AsLink() (ipld.Link, error)
- func (Tree) AsString() (string, error)
- func (Tree) IsAbsent() bool
- func (Tree) IsNull() bool
- func (n Tree) Iterator() *Tree__Itr
- func (Tree) Kind() ipld.Kind
- func (n Tree) Length() int64
- func (Tree) ListIterator() ipld.ListIterator
- func (Tree) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Tree) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n Tree) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Tree) LookupByString(k string) (ipld.Node, error)
- func (n Tree) MapIterator() ipld.MapIterator
- func (Tree) Prototype() ipld.NodePrototype
- func (n Tree) Representation() ipld.Node
- func (Tree) Type() schema.Type
- type TreeEntry
- func (TreeEntry) AsBool() (bool, error)
- func (TreeEntry) AsBytes() ([]byte, error)
- func (TreeEntry) AsFloat() (float64, error)
- func (TreeEntry) AsInt() (int64, error)
- func (TreeEntry) AsLink() (ipld.Link, error)
- func (TreeEntry) AsString() (string, error)
- func (TreeEntry) IsAbsent() bool
- func (TreeEntry) IsNull() bool
- func (TreeEntry) Kind() ipld.Kind
- func (TreeEntry) Length() int64
- func (TreeEntry) ListIterator() ipld.ListIterator
- func (TreeEntry) LookupByIndex(idx int64) (ipld.Node, error)
- func (n TreeEntry) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n TreeEntry) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n TreeEntry) LookupByString(key string) (ipld.Node, error)
- func (n TreeEntry) MapIterator() ipld.MapIterator
- func (TreeEntry) Prototype() ipld.NodePrototype
- func (n TreeEntry) Representation() ipld.Node
- func (TreeEntry) Type() schema.Type
- type Tree_Link
- func (Tree_Link) AsBool() (bool, error)
- func (Tree_Link) AsBytes() ([]byte, error)
- func (Tree_Link) AsFloat() (float64, error)
- func (Tree_Link) AsInt() (int64, error)
- func (n Tree_Link) AsLink() (ipld.Link, error)
- func (Tree_Link) AsString() (string, error)
- func (Tree_Link) IsAbsent() bool
- func (Tree_Link) IsNull() bool
- func (Tree_Link) Kind() ipld.Kind
- func (Tree_Link) Length() int64
- func (n Tree_Link) Link() ipld.Link
- func (Tree_Link) LinkTargetNodePrototype() ipld.NodePrototype
- func (Tree_Link) ListIterator() ipld.ListIterator
- func (Tree_Link) LookupByIndex(idx int64) (ipld.Node, error)
- func (Tree_Link) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Tree_Link) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Tree_Link) LookupByString(string) (ipld.Node, error)
- func (Tree_Link) MapIterator() ipld.MapIterator
- func (Tree_Link) Prototype() ipld.NodePrototype
- func (n Tree_Link) Representation() ipld.Node
- func (Tree_Link) Type() schema.Type
- type Tree__Itr
Constants ¶
This section is empty.
Variables ¶
var Type typeSlab
Type is a struct embeding a NodePrototype/Type for every Node implementation in this package. One of its major uses is to start the construction of a value. You can use it like this:
ipldgit.Type.YourTypeName.NewBuilder().BeginMap() //...
and:
ipldgit.Type.OtherTypeName.NewBuilder().AssignString("x") // ...
Functions ¶
func DecodeBlob ¶ added in v0.1.0
DecodeBlob fills a NodeAssembler (from `Type.Blob__Repr.NewBuilder()`) from a stream of bytes
func DecodeBlock ¶
DecodeBlock attempts to parse a serialized ipfs block into an ipld node dag Deprecated: Parse ifrom data instead.
func DecodeCommit ¶ added in v0.1.0
DecodeCommit fills a NodeAssembler (from `Type.Commit__Repr.NewBuilder()`) from a stream of bytes
func DecodeTag ¶ added in v0.1.0
DecodeTag fills a NodeAssembler (from `Type.Tag__Repr.NewBuilder()`) from a stream of bytes
func DecodeTree ¶ added in v0.1.0
DecodeTree fills a NodeAssembler (from `Type.Tree__Repr.NewBuilder()`) from a stream of bytes
func DecodeTreeEntry ¶ added in v0.1.0
DecodeTreeEntry fills a NodeAssembler (from `Type.TreeEntry__Repr.NewBuilder()`) from a stream of bytes
func ParseCompressedObject ¶
ParseCompressedObject works like ParseObject, but with a surrounding zlib compression.
func ParseObject ¶
ParseObject produces an ipld.Node from a stream / binary represnetation.
func ParseObjectFromBuffer ¶
ParseObjectFromBuffer is like ParseObject, but with a fully in-memory stream
Types ¶
type Blob ¶
type Blob = *_Blob
Blob matches the IPLD Schema type "Blob". It has bytes kind.
func (Blob) ListIterator ¶ added in v0.1.0
func (Blob) ListIterator() ipld.ListIterator
func (Blob) LookupBySegment ¶ added in v0.1.0
func (Blob) MapIterator ¶ added in v0.1.0
func (Blob) MapIterator() ipld.MapIterator
func (Blob) Prototype ¶ added in v0.1.0
func (Blob) Prototype() ipld.NodePrototype
func (Blob) Representation ¶ added in v0.1.0
type Commit ¶
type Commit = *_Commit
Commit matches the IPLD Schema type "Commit". It has Struct type-kind, and may be interrogated like map kind.
func (Commit) ListIterator ¶ added in v0.1.0
func (Commit) ListIterator() ipld.ListIterator
func (Commit) LookupByIndex ¶ added in v0.1.0
func (Commit) LookupByNode ¶ added in v0.1.0
func (Commit) LookupBySegment ¶ added in v0.1.0
func (Commit) LookupByString ¶ added in v0.1.0
func (Commit) MapIterator ¶ added in v0.1.0
func (n Commit) MapIterator() ipld.MapIterator
func (Commit) Prototype ¶ added in v0.1.0
func (Commit) Prototype() ipld.NodePrototype
func (Commit) Representation ¶ added in v0.1.0
type Commit_Link ¶ added in v0.1.0
type Commit_Link = *_Commit_Link
Commit_Link matches the IPLD Schema type "Commit_Link". It has link kind.
func (Commit_Link) AsBool ¶ added in v0.1.0
func (Commit_Link) AsBool() (bool, error)
func (Commit_Link) AsBytes ¶ added in v0.1.0
func (Commit_Link) AsBytes() ([]byte, error)
func (Commit_Link) AsFloat ¶ added in v0.1.0
func (Commit_Link) AsFloat() (float64, error)
func (Commit_Link) AsInt ¶ added in v0.1.0
func (Commit_Link) AsInt() (int64, error)
func (Commit_Link) AsString ¶ added in v0.1.0
func (Commit_Link) AsString() (string, error)
func (Commit_Link) IsAbsent ¶ added in v0.1.0
func (Commit_Link) IsAbsent() bool
func (Commit_Link) IsNull ¶ added in v0.1.0
func (Commit_Link) IsNull() bool
func (Commit_Link) Kind ¶ added in v0.1.0
func (Commit_Link) Kind() ipld.Kind
func (Commit_Link) Length ¶ added in v0.1.0
func (Commit_Link) Length() int64
func (Commit_Link) Link ¶ added in v0.1.0
func (n Commit_Link) Link() ipld.Link
func (Commit_Link) LinkTargetNodePrototype ¶ added in v0.1.0
func (Commit_Link) LinkTargetNodePrototype() ipld.NodePrototype
func (Commit_Link) ListIterator ¶ added in v0.1.0
func (Commit_Link) ListIterator() ipld.ListIterator
func (Commit_Link) LookupByIndex ¶ added in v0.1.0
func (Commit_Link) LookupByIndex(idx int64) (ipld.Node, error)
func (Commit_Link) LookupByNode ¶ added in v0.1.0
func (Commit_Link) LookupBySegment ¶ added in v0.1.0
func (Commit_Link) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (Commit_Link) LookupByString ¶ added in v0.1.0
func (Commit_Link) LookupByString(string) (ipld.Node, error)
func (Commit_Link) MapIterator ¶ added in v0.1.0
func (Commit_Link) MapIterator() ipld.MapIterator
func (Commit_Link) Prototype ¶ added in v0.1.0
func (Commit_Link) Prototype() ipld.NodePrototype
func (Commit_Link) Representation ¶ added in v0.1.0
func (n Commit_Link) Representation() ipld.Node
func (Commit_Link) Type ¶ added in v0.1.0
func (Commit_Link) Type() schema.Type
type Commit_Link_List ¶ added in v0.1.0
type Commit_Link_List = *_Commit_Link_List
Commit_Link_List matches the IPLD Schema type "Commit_Link_List". It has list kind.
func (Commit_Link_List) AsBool ¶ added in v0.1.0
func (Commit_Link_List) AsBool() (bool, error)
func (Commit_Link_List) AsBytes ¶ added in v0.1.0
func (Commit_Link_List) AsBytes() ([]byte, error)
func (Commit_Link_List) AsFloat ¶ added in v0.1.0
func (Commit_Link_List) AsFloat() (float64, error)
func (Commit_Link_List) AsInt ¶ added in v0.1.0
func (Commit_Link_List) AsInt() (int64, error)
func (Commit_Link_List) AsLink ¶ added in v0.1.0
func (Commit_Link_List) AsLink() (ipld.Link, error)
func (Commit_Link_List) AsString ¶ added in v0.1.0
func (Commit_Link_List) AsString() (string, error)
func (Commit_Link_List) IsAbsent ¶ added in v0.1.0
func (Commit_Link_List) IsAbsent() bool
func (Commit_Link_List) IsNull ¶ added in v0.1.0
func (Commit_Link_List) IsNull() bool
func (Commit_Link_List) Iterator ¶ added in v0.1.0
func (n Commit_Link_List) Iterator() *Commit_Link_List__Itr
func (Commit_Link_List) Kind ¶ added in v0.1.0
func (Commit_Link_List) Kind() ipld.Kind
func (Commit_Link_List) Length ¶ added in v0.1.0
func (n Commit_Link_List) Length() int64
func (Commit_Link_List) ListIterator ¶ added in v0.1.0
func (n Commit_Link_List) ListIterator() ipld.ListIterator
func (Commit_Link_List) LookupByIndex ¶ added in v0.1.0
func (n Commit_Link_List) LookupByIndex(idx int64) (ipld.Node, error)
func (Commit_Link_List) LookupByNode ¶ added in v0.1.0
func (Commit_Link_List) LookupBySegment ¶ added in v0.1.0
func (n Commit_Link_List) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (Commit_Link_List) LookupByString ¶ added in v0.1.0
func (Commit_Link_List) LookupByString(string) (ipld.Node, error)
func (Commit_Link_List) MapIterator ¶ added in v0.1.0
func (Commit_Link_List) MapIterator() ipld.MapIterator
func (Commit_Link_List) Prototype ¶ added in v0.1.0
func (Commit_Link_List) Prototype() ipld.NodePrototype
func (Commit_Link_List) Representation ¶ added in v0.1.0
func (n Commit_Link_List) Representation() ipld.Node
func (Commit_Link_List) Type ¶ added in v0.1.0
func (Commit_Link_List) Type() schema.Type
type Commit_Link_List__Itr ¶ added in v0.1.0
type Commit_Link_List__Itr struct {
// contains filtered or unexported fields
}
func (*Commit_Link_List__Itr) Done ¶ added in v0.1.0
func (itr *Commit_Link_List__Itr) Done() bool
func (*Commit_Link_List__Itr) Next ¶ added in v0.1.0
func (itr *Commit_Link_List__Itr) Next() (idx int64, v Commit_Link)
type GpgSig ¶
type GpgSig = *_GpgSig
GpgSig matches the IPLD Schema type "GpgSig". It has string kind.
func (GpgSig) ListIterator ¶ added in v0.1.0
func (GpgSig) ListIterator() ipld.ListIterator
func (GpgSig) LookupByIndex ¶ added in v0.1.0
func (GpgSig) LookupByNode ¶ added in v0.1.0
func (GpgSig) LookupBySegment ¶ added in v0.1.0
func (GpgSig) LookupByString ¶ added in v0.1.0
func (GpgSig) MapIterator ¶ added in v0.1.0
func (GpgSig) MapIterator() ipld.MapIterator
func (GpgSig) Prototype ¶ added in v0.1.0
func (GpgSig) Prototype() ipld.NodePrototype
func (GpgSig) Representation ¶ added in v0.1.0
type Link ¶ added in v0.1.0
type Link = *_Link
Link matches the IPLD Schema type "Link". It has link kind.
func (Link) ListIterator ¶ added in v0.1.0
func (Link) ListIterator() ipld.ListIterator
func (Link) LookupBySegment ¶ added in v0.1.0
func (Link) MapIterator ¶ added in v0.1.0
func (Link) MapIterator() ipld.MapIterator
func (Link) Prototype ¶ added in v0.1.0
func (Link) Prototype() ipld.NodePrototype
func (Link) Representation ¶ added in v0.1.0
type MaybeCommit ¶ added in v0.1.0
type MaybeCommit = *_Commit__Maybe
func (MaybeCommit) AsNode ¶ added in v0.1.0
func (m MaybeCommit) AsNode() ipld.Node
func (MaybeCommit) Exists ¶ added in v0.1.0
func (m MaybeCommit) Exists() bool
func (MaybeCommit) IsAbsent ¶ added in v0.1.0
func (m MaybeCommit) IsAbsent() bool
func (MaybeCommit) IsNull ¶ added in v0.1.0
func (m MaybeCommit) IsNull() bool
func (MaybeCommit) Must ¶ added in v0.1.0
func (m MaybeCommit) Must() Commit
type MaybeCommit_Link ¶ added in v0.1.0
type MaybeCommit_Link = *_Commit_Link__Maybe
func (MaybeCommit_Link) AsNode ¶ added in v0.1.0
func (m MaybeCommit_Link) AsNode() ipld.Node
func (MaybeCommit_Link) Exists ¶ added in v0.1.0
func (m MaybeCommit_Link) Exists() bool
func (MaybeCommit_Link) IsAbsent ¶ added in v0.1.0
func (m MaybeCommit_Link) IsAbsent() bool
func (MaybeCommit_Link) IsNull ¶ added in v0.1.0
func (m MaybeCommit_Link) IsNull() bool
func (MaybeCommit_Link) Must ¶ added in v0.1.0
func (m MaybeCommit_Link) Must() Commit_Link
type MaybeCommit_Link_List ¶ added in v0.1.0
type MaybeCommit_Link_List = *_Commit_Link_List__Maybe
func (MaybeCommit_Link_List) AsNode ¶ added in v0.1.0
func (m MaybeCommit_Link_List) AsNode() ipld.Node
func (MaybeCommit_Link_List) Exists ¶ added in v0.1.0
func (m MaybeCommit_Link_List) Exists() bool
func (MaybeCommit_Link_List) IsAbsent ¶ added in v0.1.0
func (m MaybeCommit_Link_List) IsAbsent() bool
func (MaybeCommit_Link_List) IsNull ¶ added in v0.1.0
func (m MaybeCommit_Link_List) IsNull() bool
func (MaybeCommit_Link_List) Must ¶ added in v0.1.0
func (m MaybeCommit_Link_List) Must() Commit_Link_List
type MaybeGpgSig ¶ added in v0.1.0
type MaybeGpgSig = *_GpgSig__Maybe
func (MaybeGpgSig) AsNode ¶ added in v0.1.0
func (m MaybeGpgSig) AsNode() ipld.Node
func (MaybeGpgSig) Exists ¶ added in v0.1.0
func (m MaybeGpgSig) Exists() bool
func (MaybeGpgSig) IsAbsent ¶ added in v0.1.0
func (m MaybeGpgSig) IsAbsent() bool
func (MaybeGpgSig) IsNull ¶ added in v0.1.0
func (m MaybeGpgSig) IsNull() bool
func (MaybeGpgSig) Must ¶ added in v0.1.0
func (m MaybeGpgSig) Must() GpgSig
type MaybePersonInfo ¶ added in v0.1.0
type MaybePersonInfo = *_PersonInfo__Maybe
func (MaybePersonInfo) AsNode ¶ added in v0.1.0
func (m MaybePersonInfo) AsNode() ipld.Node
func (MaybePersonInfo) Exists ¶ added in v0.1.0
func (m MaybePersonInfo) Exists() bool
func (MaybePersonInfo) IsAbsent ¶ added in v0.1.0
func (m MaybePersonInfo) IsAbsent() bool
func (MaybePersonInfo) IsNull ¶ added in v0.1.0
func (m MaybePersonInfo) IsNull() bool
func (MaybePersonInfo) Must ¶ added in v0.1.0
func (m MaybePersonInfo) Must() PersonInfo
type MaybeString ¶ added in v0.1.0
type MaybeString = *_String__Maybe
func (MaybeString) AsNode ¶ added in v0.1.0
func (m MaybeString) AsNode() ipld.Node
func (MaybeString) Exists ¶ added in v0.1.0
func (m MaybeString) Exists() bool
func (MaybeString) IsAbsent ¶ added in v0.1.0
func (m MaybeString) IsAbsent() bool
func (MaybeString) IsNull ¶ added in v0.1.0
func (m MaybeString) IsNull() bool
func (MaybeString) Must ¶ added in v0.1.0
func (m MaybeString) Must() String
type MaybeString_List ¶ added in v0.1.0
type MaybeString_List = *_String_List__Maybe
func (MaybeString_List) AsNode ¶ added in v0.1.0
func (m MaybeString_List) AsNode() ipld.Node
func (MaybeString_List) Exists ¶ added in v0.1.0
func (m MaybeString_List) Exists() bool
func (MaybeString_List) IsAbsent ¶ added in v0.1.0
func (m MaybeString_List) IsAbsent() bool
func (MaybeString_List) IsNull ¶ added in v0.1.0
func (m MaybeString_List) IsNull() bool
func (MaybeString_List) Must ¶ added in v0.1.0
func (m MaybeString_List) Must() String_List
type MaybeTag_List ¶ added in v0.1.0
type MaybeTag_List = *_Tag_List__Maybe
func (MaybeTag_List) AsNode ¶ added in v0.1.0
func (m MaybeTag_List) AsNode() ipld.Node
func (MaybeTag_List) Exists ¶ added in v0.1.0
func (m MaybeTag_List) Exists() bool
func (MaybeTag_List) IsAbsent ¶ added in v0.1.0
func (m MaybeTag_List) IsAbsent() bool
func (MaybeTag_List) IsNull ¶ added in v0.1.0
func (m MaybeTag_List) IsNull() bool
func (MaybeTag_List) Must ¶ added in v0.1.0
func (m MaybeTag_List) Must() Tag_List
type MaybeTreeEntry ¶ added in v0.1.0
type MaybeTreeEntry = *_TreeEntry__Maybe
func (MaybeTreeEntry) AsNode ¶ added in v0.1.0
func (m MaybeTreeEntry) AsNode() ipld.Node
func (MaybeTreeEntry) Exists ¶ added in v0.1.0
func (m MaybeTreeEntry) Exists() bool
func (MaybeTreeEntry) IsAbsent ¶ added in v0.1.0
func (m MaybeTreeEntry) IsAbsent() bool
func (MaybeTreeEntry) IsNull ¶ added in v0.1.0
func (m MaybeTreeEntry) IsNull() bool
func (MaybeTreeEntry) Must ¶ added in v0.1.0
func (m MaybeTreeEntry) Must() TreeEntry
type MaybeTree_Link ¶ added in v0.1.0
type MaybeTree_Link = *_Tree_Link__Maybe
func (MaybeTree_Link) AsNode ¶ added in v0.1.0
func (m MaybeTree_Link) AsNode() ipld.Node
func (MaybeTree_Link) Exists ¶ added in v0.1.0
func (m MaybeTree_Link) Exists() bool
func (MaybeTree_Link) IsAbsent ¶ added in v0.1.0
func (m MaybeTree_Link) IsAbsent() bool
func (MaybeTree_Link) IsNull ¶ added in v0.1.0
func (m MaybeTree_Link) IsNull() bool
func (MaybeTree_Link) Must ¶ added in v0.1.0
func (m MaybeTree_Link) Must() Tree_Link
type PersonInfo ¶
type PersonInfo = *_PersonInfo
PersonInfo matches the IPLD Schema type "PersonInfo". It has Struct type-kind, and may be interrogated like map kind.
func (PersonInfo) AsBool ¶ added in v0.1.0
func (PersonInfo) AsBool() (bool, error)
func (PersonInfo) AsBytes ¶ added in v0.1.0
func (PersonInfo) AsBytes() ([]byte, error)
func (PersonInfo) AsFloat ¶ added in v0.1.0
func (PersonInfo) AsFloat() (float64, error)
func (PersonInfo) AsInt ¶ added in v0.1.0
func (PersonInfo) AsInt() (int64, error)
func (PersonInfo) AsString ¶ added in v0.1.0
func (PersonInfo) AsString() (string, error)
func (PersonInfo) IsAbsent ¶ added in v0.1.0
func (PersonInfo) IsAbsent() bool
func (PersonInfo) IsNull ¶ added in v0.1.0
func (PersonInfo) IsNull() bool
func (PersonInfo) Kind ¶ added in v0.1.0
func (PersonInfo) Kind() ipld.Kind
func (PersonInfo) Length ¶ added in v0.1.0
func (PersonInfo) Length() int64
func (PersonInfo) ListIterator ¶ added in v0.1.0
func (PersonInfo) ListIterator() ipld.ListIterator
func (PersonInfo) LookupByIndex ¶ added in v0.1.0
func (PersonInfo) LookupByIndex(idx int64) (ipld.Node, error)
func (PersonInfo) LookupByNode ¶ added in v0.1.0
func (PersonInfo) LookupBySegment ¶ added in v0.1.0
func (n PersonInfo) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (PersonInfo) LookupByString ¶ added in v0.1.0
func (n PersonInfo) LookupByString(key string) (ipld.Node, error)
func (PersonInfo) MapIterator ¶ added in v0.1.0
func (n PersonInfo) MapIterator() ipld.MapIterator
func (PersonInfo) Prototype ¶ added in v0.1.0
func (PersonInfo) Prototype() ipld.NodePrototype
func (PersonInfo) Representation ¶ added in v0.1.0
func (n PersonInfo) Representation() ipld.Node
func (PersonInfo) Type ¶ added in v0.1.0
func (PersonInfo) Type() schema.Type
type String ¶ added in v0.1.0
type String = *_String
String matches the IPLD Schema type "String". It has string kind.
func (String) ListIterator ¶ added in v0.1.0
func (String) ListIterator() ipld.ListIterator
func (String) LookupByIndex ¶ added in v0.1.0
func (String) LookupByNode ¶ added in v0.1.0
func (String) LookupBySegment ¶ added in v0.1.0
func (String) LookupByString ¶ added in v0.1.0
func (String) MapIterator ¶ added in v0.1.0
func (String) MapIterator() ipld.MapIterator
func (String) Prototype ¶ added in v0.1.0
func (String) Prototype() ipld.NodePrototype
func (String) Representation ¶ added in v0.1.0
type String_List ¶ added in v0.1.0
type String_List = *_String_List
String_List matches the IPLD Schema type "String_List". It has list kind.
func (String_List) AsBool ¶ added in v0.1.0
func (String_List) AsBool() (bool, error)
func (String_List) AsBytes ¶ added in v0.1.0
func (String_List) AsBytes() ([]byte, error)
func (String_List) AsFloat ¶ added in v0.1.0
func (String_List) AsFloat() (float64, error)
func (String_List) AsInt ¶ added in v0.1.0
func (String_List) AsInt() (int64, error)
func (String_List) AsString ¶ added in v0.1.0
func (String_List) AsString() (string, error)
func (String_List) IsAbsent ¶ added in v0.1.0
func (String_List) IsAbsent() bool
func (String_List) IsNull ¶ added in v0.1.0
func (String_List) IsNull() bool
func (String_List) Iterator ¶ added in v0.1.0
func (n String_List) Iterator() *String_List__Itr
func (String_List) Kind ¶ added in v0.1.0
func (String_List) Kind() ipld.Kind
func (String_List) Length ¶ added in v0.1.0
func (n String_List) Length() int64
func (String_List) ListIterator ¶ added in v0.1.0
func (n String_List) ListIterator() ipld.ListIterator
func (String_List) LookupByIndex ¶ added in v0.1.0
func (n String_List) LookupByIndex(idx int64) (ipld.Node, error)
func (String_List) LookupByNode ¶ added in v0.1.0
func (String_List) LookupBySegment ¶ added in v0.1.0
func (n String_List) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (String_List) LookupByString ¶ added in v0.1.0
func (String_List) LookupByString(string) (ipld.Node, error)
func (String_List) MapIterator ¶ added in v0.1.0
func (String_List) MapIterator() ipld.MapIterator
func (String_List) Prototype ¶ added in v0.1.0
func (String_List) Prototype() ipld.NodePrototype
func (String_List) Representation ¶ added in v0.1.0
func (n String_List) Representation() ipld.Node
func (String_List) Type ¶ added in v0.1.0
func (String_List) Type() schema.Type
type String_List__Itr ¶ added in v0.1.0
type String_List__Itr struct {
// contains filtered or unexported fields
}
func (*String_List__Itr) Done ¶ added in v0.1.0
func (itr *String_List__Itr) Done() bool
func (*String_List__Itr) Next ¶ added in v0.1.0
func (itr *String_List__Itr) Next() (idx int64, v String)
type Tag ¶
type Tag = *_Tag
Tag matches the IPLD Schema type "Tag". It has Struct type-kind, and may be interrogated like map kind.
func (Tag) ListIterator ¶ added in v0.1.0
func (Tag) ListIterator() ipld.ListIterator
func (Tag) LookupByNode ¶ added in v0.1.0
func (Tag) LookupBySegment ¶ added in v0.1.0
func (Tag) LookupByString ¶ added in v0.1.0
func (Tag) MapIterator ¶ added in v0.1.0
func (n Tag) MapIterator() ipld.MapIterator
func (Tag) Prototype ¶ added in v0.1.0
func (Tag) Prototype() ipld.NodePrototype
func (Tag) Representation ¶ added in v0.1.0
type Tag_List ¶ added in v0.1.0
type Tag_List = *_Tag_List
Tag_List matches the IPLD Schema type "Tag_List". It has list kind.
func (Tag_List) Iterator ¶ added in v0.1.0
func (n Tag_List) Iterator() *Tag_List__Itr
func (Tag_List) ListIterator ¶ added in v0.1.0
func (n Tag_List) ListIterator() ipld.ListIterator
func (Tag_List) LookupByIndex ¶ added in v0.1.0
func (Tag_List) LookupByNode ¶ added in v0.1.0
func (Tag_List) LookupBySegment ¶ added in v0.1.0
func (Tag_List) LookupByString ¶ added in v0.1.0
func (Tag_List) MapIterator ¶ added in v0.1.0
func (Tag_List) MapIterator() ipld.MapIterator
func (Tag_List) Prototype ¶ added in v0.1.0
func (Tag_List) Prototype() ipld.NodePrototype
func (Tag_List) Representation ¶ added in v0.1.0
type Tag_List__Itr ¶ added in v0.1.0
type Tag_List__Itr struct {
// contains filtered or unexported fields
}
func (*Tag_List__Itr) Done ¶ added in v0.1.0
func (itr *Tag_List__Itr) Done() bool
func (*Tag_List__Itr) Next ¶ added in v0.1.0
func (itr *Tag_List__Itr) Next() (idx int64, v Tag)
type Tree ¶
type Tree = *_Tree
Tree matches the IPLD Schema type "Tree". It has map kind.
func (Tree) ListIterator ¶ added in v0.1.0
func (Tree) ListIterator() ipld.ListIterator
func (Tree) LookupByNode ¶ added in v0.1.0
func (Tree) LookupBySegment ¶ added in v0.1.0
func (Tree) LookupByString ¶ added in v0.1.0
func (Tree) MapIterator ¶ added in v0.1.0
func (n Tree) MapIterator() ipld.MapIterator
func (Tree) Prototype ¶ added in v0.1.0
func (Tree) Prototype() ipld.NodePrototype
func (Tree) Representation ¶ added in v0.1.0
type TreeEntry ¶
type TreeEntry = *_TreeEntry
TreeEntry matches the IPLD Schema type "TreeEntry". It has Struct type-kind, and may be interrogated like map kind.
func (TreeEntry) ListIterator ¶ added in v0.1.0
func (TreeEntry) ListIterator() ipld.ListIterator
func (TreeEntry) LookupByIndex ¶ added in v0.1.0
func (TreeEntry) LookupByNode ¶ added in v0.1.0
func (TreeEntry) LookupBySegment ¶ added in v0.1.0
func (TreeEntry) LookupByString ¶ added in v0.1.0
func (TreeEntry) MapIterator ¶ added in v0.1.0
func (n TreeEntry) MapIterator() ipld.MapIterator
func (TreeEntry) Prototype ¶ added in v0.1.0
func (TreeEntry) Prototype() ipld.NodePrototype
func (TreeEntry) Representation ¶ added in v0.1.0
type Tree_Link ¶ added in v0.1.0
type Tree_Link = *_Tree_Link
Tree_Link matches the IPLD Schema type "Tree_Link". It has link kind.
func (Tree_Link) LinkTargetNodePrototype ¶ added in v0.1.0
func (Tree_Link) LinkTargetNodePrototype() ipld.NodePrototype
func (Tree_Link) ListIterator ¶ added in v0.1.0
func (Tree_Link) ListIterator() ipld.ListIterator
func (Tree_Link) LookupByIndex ¶ added in v0.1.0
func (Tree_Link) LookupByNode ¶ added in v0.1.0
func (Tree_Link) LookupBySegment ¶ added in v0.1.0
func (Tree_Link) LookupByString ¶ added in v0.1.0
func (Tree_Link) MapIterator ¶ added in v0.1.0
func (Tree_Link) MapIterator() ipld.MapIterator
func (Tree_Link) Prototype ¶ added in v0.1.0
func (Tree_Link) Prototype() ipld.NodePrototype