Documentation ¶
Index ¶
- Variables
- type Block
- func (Block) AsBool() (bool, error)
- func (Block) AsBytes() ([]byte, error)
- func (Block) AsFloat() (float64, error)
- func (Block) AsInt() (int, error)
- func (Block) AsLink() (ipld.Link, error)
- func (Block) AsString() (string, error)
- func (Block) IsAbsent() bool
- func (Block) IsNull() bool
- func (Block) Length() int
- func (Block) ListIterator() ipld.ListIterator
- func (Block) LookupByIndex(idx int) (ipld.Node, error)
- func (n Block) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n Block) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Block) LookupByString(key string) (ipld.Node, error)
- func (n Block) MapIterator() ipld.MapIterator
- func (Block) Prototype() ipld.NodePrototype
- func (Block) ReprKind() ipld.ReprKind
- func (n Block) Representation() ipld.Node
- func (Block) Type() schema.Type
- type Bytes
- func (Bytes) AsBool() (bool, error)
- func (n Bytes) AsBytes() ([]byte, error)
- func (Bytes) AsFloat() (float64, error)
- func (Bytes) AsInt() (int, error)
- func (Bytes) AsLink() (ipld.Link, error)
- func (Bytes) AsString() (string, error)
- func (n Bytes) Bytes() []byte
- func (Bytes) IsAbsent() bool
- func (Bytes) IsNull() bool
- func (Bytes) Length() int
- func (Bytes) ListIterator() ipld.ListIterator
- func (Bytes) LookupByIndex(idx int) (ipld.Node, error)
- func (Bytes) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Bytes) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Bytes) LookupByString(string) (ipld.Node, error)
- func (Bytes) MapIterator() ipld.MapIterator
- func (Bytes) Prototype() ipld.NodePrototype
- func (Bytes) ReprKind() ipld.ReprKind
- func (n Bytes) Representation() ipld.Node
- func (Bytes) Type() schema.Type
- type Link
- func (Link) AsBool() (bool, error)
- func (Link) AsBytes() ([]byte, error)
- func (Link) AsFloat() (float64, error)
- func (Link) AsInt() (int, error)
- func (n Link) AsLink() (ipld.Link, error)
- func (Link) AsString() (string, error)
- func (Link) IsAbsent() bool
- func (Link) IsNull() bool
- func (Link) Length() int
- func (n Link) Link() ipld.Link
- func (Link) ListIterator() ipld.ListIterator
- func (Link) LookupByIndex(idx int) (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 (Link) ReprKind() ipld.ReprKind
- func (n Link) Representation() ipld.Node
- func (Link) Type() schema.Type
- type MaybeBlock
- type MaybeBytes
- type MaybeLink
- type MaybeMessages
- type MaybeParents
- type MaybeString
- type Messages
- func (Messages) AsBool() (bool, error)
- func (Messages) AsBytes() ([]byte, error)
- func (Messages) AsFloat() (float64, error)
- func (Messages) AsInt() (int, error)
- func (Messages) AsLink() (ipld.Link, error)
- func (Messages) AsString() (string, error)
- func (Messages) IsAbsent() bool
- func (Messages) IsNull() bool
- func (n Messages) Length() int
- func (n Messages) ListIterator() ipld.ListIterator
- func (n Messages) LookupByIndex(idx int) (ipld.Node, error)
- func (n Messages) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n Messages) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Messages) LookupByString(string) (ipld.Node, error)
- func (Messages) MapIterator() ipld.MapIterator
- func (Messages) Prototype() ipld.NodePrototype
- func (Messages) ReprKind() ipld.ReprKind
- func (n Messages) Representation() ipld.Node
- func (Messages) Type() schema.Type
- type Parents
- func (Parents) AsBool() (bool, error)
- func (Parents) AsBytes() ([]byte, error)
- func (Parents) AsFloat() (float64, error)
- func (Parents) AsInt() (int, error)
- func (Parents) AsLink() (ipld.Link, error)
- func (Parents) AsString() (string, error)
- func (Parents) IsAbsent() bool
- func (Parents) IsNull() bool
- func (n Parents) Length() int
- func (n Parents) ListIterator() ipld.ListIterator
- func (n Parents) LookupByIndex(idx int) (ipld.Node, error)
- func (n Parents) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n Parents) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Parents) LookupByString(string) (ipld.Node, error)
- func (Parents) MapIterator() ipld.MapIterator
- func (Parents) Prototype() ipld.NodePrototype
- func (Parents) ReprKind() ipld.ReprKind
- func (n Parents) Representation() ipld.Node
- func (Parents) Type() schema.Type
- type String
- func (String) AsBool() (bool, error)
- func (String) AsBytes() ([]byte, error)
- func (String) AsFloat() (float64, error)
- func (String) AsInt() (int, error)
- func (String) AsLink() (ipld.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Length() int
- func (String) ListIterator() ipld.ListIterator
- func (String) LookupByIndex(idx int) (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 (String) ReprKind() ipld.ReprKind
- func (n String) Representation() ipld.Node
- func (n String) String() string
- func (String) Type() schema.Type
Constants ¶
This section is empty.
Variables ¶
View Source
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:
chaintypes.Type.YourTypeName.NewBuilder().BeginMap() //...
and:
chaintypes.Type.OtherTypeName.NewBuilder().AssignString("x") // ...
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block = *_Block
func (Block) ListIterator ¶
func (Block) ListIterator() ipld.ListIterator
func (Block) LookupBySegment ¶
func (Block) MapIterator ¶
func (n Block) MapIterator() ipld.MapIterator
func (Block) Prototype ¶
func (Block) Prototype() ipld.NodePrototype
func (Block) Representation ¶
type Bytes ¶
type Bytes = *_Bytes
func (Bytes) ListIterator ¶
func (Bytes) ListIterator() ipld.ListIterator
func (Bytes) LookupBySegment ¶
func (Bytes) MapIterator ¶
func (Bytes) MapIterator() ipld.MapIterator
func (Bytes) Prototype ¶
func (Bytes) Prototype() ipld.NodePrototype
func (Bytes) Representation ¶
type Link ¶
type Link = *_Link
func (Link) ListIterator ¶
func (Link) ListIterator() ipld.ListIterator
func (Link) LookupBySegment ¶
func (Link) MapIterator ¶
func (Link) MapIterator() ipld.MapIterator
func (Link) Prototype ¶
func (Link) Prototype() ipld.NodePrototype
func (Link) Representation ¶
type MaybeBlock ¶
type MaybeBlock = *_Block__Maybe
func (MaybeBlock) AsNode ¶
func (m MaybeBlock) AsNode() ipld.Node
func (MaybeBlock) Exists ¶
func (m MaybeBlock) Exists() bool
func (MaybeBlock) IsAbsent ¶
func (m MaybeBlock) IsAbsent() bool
func (MaybeBlock) IsNull ¶
func (m MaybeBlock) IsNull() bool
func (MaybeBlock) Must ¶
func (m MaybeBlock) Must() Block
type MaybeBytes ¶
type MaybeBytes = *_Bytes__Maybe
func (MaybeBytes) AsNode ¶
func (m MaybeBytes) AsNode() ipld.Node
func (MaybeBytes) Exists ¶
func (m MaybeBytes) Exists() bool
func (MaybeBytes) IsAbsent ¶
func (m MaybeBytes) IsAbsent() bool
func (MaybeBytes) IsNull ¶
func (m MaybeBytes) IsNull() bool
func (MaybeBytes) Must ¶
func (m MaybeBytes) Must() Bytes
type MaybeMessages ¶
type MaybeMessages = *_Messages__Maybe
func (MaybeMessages) AsNode ¶
func (m MaybeMessages) AsNode() ipld.Node
func (MaybeMessages) Exists ¶
func (m MaybeMessages) Exists() bool
func (MaybeMessages) IsAbsent ¶
func (m MaybeMessages) IsAbsent() bool
func (MaybeMessages) IsNull ¶
func (m MaybeMessages) IsNull() bool
func (MaybeMessages) Must ¶
func (m MaybeMessages) Must() Messages
type MaybeParents ¶
type MaybeParents = *_Parents__Maybe
func (MaybeParents) AsNode ¶
func (m MaybeParents) AsNode() ipld.Node
func (MaybeParents) Exists ¶
func (m MaybeParents) Exists() bool
func (MaybeParents) IsAbsent ¶
func (m MaybeParents) IsAbsent() bool
func (MaybeParents) IsNull ¶
func (m MaybeParents) IsNull() bool
func (MaybeParents) Must ¶
func (m MaybeParents) Must() Parents
type MaybeString ¶
type MaybeString = *_String__Maybe
func (MaybeString) AsNode ¶
func (m MaybeString) AsNode() ipld.Node
func (MaybeString) Exists ¶
func (m MaybeString) Exists() bool
func (MaybeString) IsAbsent ¶
func (m MaybeString) IsAbsent() bool
func (MaybeString) IsNull ¶
func (m MaybeString) IsNull() bool
func (MaybeString) Must ¶
func (m MaybeString) Must() String
type Messages ¶
type Messages = *_Messages
func (Messages) ListIterator ¶
func (n Messages) ListIterator() ipld.ListIterator
func (Messages) LookupBySegment ¶
func (Messages) MapIterator ¶
func (Messages) MapIterator() ipld.MapIterator
func (Messages) Prototype ¶
func (Messages) Prototype() ipld.NodePrototype
func (Messages) Representation ¶
type Parents ¶
type Parents = *_Parents
func (Parents) ListIterator ¶
func (n Parents) ListIterator() ipld.ListIterator
func (Parents) LookupBySegment ¶
func (Parents) MapIterator ¶
func (Parents) MapIterator() ipld.MapIterator
func (Parents) Prototype ¶
func (Parents) Prototype() ipld.NodePrototype
func (Parents) Representation ¶
type String ¶
type String = *_String
func (String) ListIterator ¶
func (String) ListIterator() ipld.ListIterator
func (String) LookupBySegment ¶
func (String) MapIterator ¶
func (String) MapIterator() ipld.MapIterator
func (String) Prototype ¶
func (String) Prototype() ipld.NodePrototype
func (String) Representation ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.