Documentation
¶
Overview ¶
Package ipldsch provides Solana ledger IPLD schemas.
Index ¶
- Variables
- type Block
- func (Block) AsBool() (bool, error)
- func (Block) AsBytes() ([]byte, error)
- func (Block) AsFloat() (float64, error)
- func (Block) AsInt() (int64, error)
- func (Block) AsLink() (datamodel.Link, error)
- func (Block) AsString() (string, error)
- func (Block) IsAbsent() bool
- func (Block) IsNull() bool
- func (Block) Kind() datamodel.Kind
- func (Block) Length() int64
- func (Block) ListIterator() datamodel.ListIterator
- func (Block) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n Block) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n Block) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n Block) LookupByString(key string) (datamodel.Node, error)
- func (n Block) MapIterator() datamodel.MapIterator
- func (Block) Prototype() datamodel.NodePrototype
- func (n Block) Representation() datamodel.Node
- func (Block) Type() schema.Type
- type Bool
- func (n Bool) AsBool() (bool, error)
- func (Bool) AsBytes() ([]byte, error)
- func (Bool) AsFloat() (float64, error)
- func (Bool) AsInt() (int64, error)
- func (Bool) AsLink() (datamodel.Link, error)
- func (Bool) AsString() (string, error)
- func (n Bool) Bool() bool
- func (Bool) IsAbsent() bool
- func (Bool) IsNull() bool
- func (Bool) Kind() datamodel.Kind
- func (Bool) Length() int64
- func (Bool) ListIterator() datamodel.ListIterator
- func (Bool) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Bool) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Bool) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Bool) LookupByString(string) (datamodel.Node, error)
- func (Bool) MapIterator() datamodel.MapIterator
- func (Bool) Prototype() datamodel.NodePrototype
- func (n Bool) Representation() datamodel.Node
- func (Bool) Type() schema.Type
- type Bytes
- func (Bytes) AsBool() (bool, error)
- func (n Bytes) AsBytes() ([]byte, error)
- func (Bytes) AsFloat() (float64, error)
- func (Bytes) AsInt() (int64, error)
- func (Bytes) AsLink() (datamodel.Link, error)
- func (Bytes) AsString() (string, error)
- func (n Bytes) Bytes() []byte
- func (Bytes) IsAbsent() bool
- func (Bytes) IsNull() bool
- func (Bytes) Kind() datamodel.Kind
- func (Bytes) Length() int64
- func (Bytes) ListIterator() datamodel.ListIterator
- func (Bytes) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Bytes) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Bytes) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Bytes) LookupByString(string) (datamodel.Node, error)
- func (Bytes) MapIterator() datamodel.MapIterator
- func (Bytes) Prototype() datamodel.NodePrototype
- func (n Bytes) Representation() datamodel.Node
- func (Bytes) Type() schema.Type
- type Entry
- func (Entry) AsBool() (bool, error)
- func (Entry) AsBytes() ([]byte, error)
- func (Entry) AsFloat() (float64, error)
- func (Entry) AsInt() (int64, error)
- func (Entry) AsLink() (datamodel.Link, error)
- func (Entry) AsString() (string, error)
- func (Entry) IsAbsent() bool
- func (Entry) IsNull() bool
- func (Entry) Kind() datamodel.Kind
- func (Entry) Length() int64
- func (Entry) ListIterator() datamodel.ListIterator
- func (Entry) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n Entry) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n Entry) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n Entry) LookupByString(key string) (datamodel.Node, error)
- func (n Entry) MapIterator() datamodel.MapIterator
- func (Entry) Prototype() datamodel.NodePrototype
- func (n Entry) Representation() datamodel.Node
- func (Entry) Type() schema.Type
- type Float
- func (Float) AsBool() (bool, error)
- func (Float) AsBytes() ([]byte, error)
- func (n Float) AsFloat() (float64, error)
- func (Float) AsInt() (int64, error)
- func (Float) AsLink() (datamodel.Link, error)
- func (Float) AsString() (string, error)
- func (n Float) Float() float64
- func (Float) IsAbsent() bool
- func (Float) IsNull() bool
- func (Float) Kind() datamodel.Kind
- func (Float) Length() int64
- func (Float) ListIterator() datamodel.ListIterator
- func (Float) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Float) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Float) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Float) LookupByString(string) (datamodel.Node, error)
- func (Float) MapIterator() datamodel.MapIterator
- func (Float) Prototype() datamodel.NodePrototype
- func (n Float) Representation() datamodel.Node
- func (Float) Type() schema.Type
- type Hash
- func (Hash) AsBool() (bool, error)
- func (n Hash) AsBytes() ([]byte, error)
- func (Hash) AsFloat() (float64, error)
- func (Hash) AsInt() (int64, error)
- func (Hash) AsLink() (datamodel.Link, error)
- func (Hash) AsString() (string, error)
- func (n Hash) Bytes() []byte
- func (Hash) IsAbsent() bool
- func (Hash) IsNull() bool
- func (Hash) Kind() datamodel.Kind
- func (Hash) Length() int64
- func (Hash) ListIterator() datamodel.ListIterator
- func (Hash) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Hash) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Hash) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Hash) LookupByString(string) (datamodel.Node, error)
- func (Hash) MapIterator() datamodel.MapIterator
- func (Hash) Prototype() datamodel.NodePrototype
- func (n Hash) Representation() datamodel.Node
- func (Hash) Type() schema.Type
- type Int
- func (Int) AsBool() (bool, error)
- func (Int) AsBytes() ([]byte, error)
- func (Int) AsFloat() (float64, error)
- func (n Int) AsInt() (int64, error)
- func (Int) AsLink() (datamodel.Link, error)
- func (Int) AsString() (string, error)
- func (n Int) Int() int64
- func (Int) IsAbsent() bool
- func (Int) IsNull() bool
- func (Int) Kind() datamodel.Kind
- func (Int) Length() int64
- func (Int) ListIterator() datamodel.ListIterator
- func (Int) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Int) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Int) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Int) LookupByString(string) (datamodel.Node, error)
- func (Int) MapIterator() datamodel.MapIterator
- func (Int) Prototype() datamodel.NodePrototype
- func (n Int) Representation() datamodel.Node
- func (Int) 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() (datamodel.Link, error)
- func (Link) AsString() (string, error)
- func (Link) IsAbsent() bool
- func (Link) IsNull() bool
- func (Link) Kind() datamodel.Kind
- func (Link) Length() int64
- func (n Link) Link() datamodel.Link
- func (Link) ListIterator() datamodel.ListIterator
- func (Link) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Link) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Link) LookupByString(string) (datamodel.Node, error)
- func (Link) MapIterator() datamodel.MapIterator
- func (Link) Prototype() datamodel.NodePrototype
- func (n Link) Representation() datamodel.Node
- func (Link) Type() schema.Type
- type List__Link
- func (List__Link) AsBool() (bool, error)
- func (List__Link) AsBytes() ([]byte, error)
- func (List__Link) AsFloat() (float64, error)
- func (List__Link) AsInt() (int64, error)
- func (List__Link) AsLink() (datamodel.Link, error)
- func (List__Link) AsString() (string, error)
- func (List__Link) IsAbsent() bool
- func (List__Link) IsNull() bool
- func (n List__Link) Iterator() *List__Link__Itr
- func (List__Link) Kind() datamodel.Kind
- func (n List__Link) Length() int64
- func (n List__Link) ListIterator() datamodel.ListIterator
- func (n List__Link) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n List__Link) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n List__Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (List__Link) LookupByString(string) (datamodel.Node, error)
- func (List__Link) MapIterator() datamodel.MapIterator
- func (List__Link) Prototype() datamodel.NodePrototype
- func (n List__Link) Representation() datamodel.Node
- func (List__Link) Type() schema.Type
- type List__Link__Itr
- type List__Shredding
- func (List__Shredding) AsBool() (bool, error)
- func (List__Shredding) AsBytes() ([]byte, error)
- func (List__Shredding) AsFloat() (float64, error)
- func (List__Shredding) AsInt() (int64, error)
- func (List__Shredding) AsLink() (datamodel.Link, error)
- func (List__Shredding) AsString() (string, error)
- func (List__Shredding) IsAbsent() bool
- func (List__Shredding) IsNull() bool
- func (n List__Shredding) Iterator() *List__Shredding__Itr
- func (List__Shredding) Kind() datamodel.Kind
- func (n List__Shredding) Length() int64
- func (n List__Shredding) ListIterator() datamodel.ListIterator
- func (n List__Shredding) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n List__Shredding) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n List__Shredding) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (List__Shredding) LookupByString(string) (datamodel.Node, error)
- func (List__Shredding) MapIterator() datamodel.MapIterator
- func (List__Shredding) Prototype() datamodel.NodePrototype
- func (n List__Shredding) Representation() datamodel.Node
- func (List__Shredding) Type() schema.Type
- type List__Shredding__Itr
- type MaybeBlock
- type MaybeBool
- type MaybeBytes
- type MaybeEntry
- type MaybeFloat
- type MaybeHash
- type MaybeInt
- type MaybeLink
- type MaybeList__Link
- type MaybeList__Shredding
- type MaybeShredding
- type MaybeString
- type MaybeTransaction
- type MaybeTransactionList
- type Shredding
- func (Shredding) AsBool() (bool, error)
- func (Shredding) AsBytes() ([]byte, error)
- func (Shredding) AsFloat() (float64, error)
- func (Shredding) AsInt() (int64, error)
- func (Shredding) AsLink() (datamodel.Link, error)
- func (Shredding) AsString() (string, error)
- func (Shredding) IsAbsent() bool
- func (Shredding) IsNull() bool
- func (Shredding) Kind() datamodel.Kind
- func (Shredding) Length() int64
- func (Shredding) ListIterator() datamodel.ListIterator
- func (Shredding) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n Shredding) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n Shredding) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n Shredding) LookupByString(key string) (datamodel.Node, error)
- func (n Shredding) MapIterator() datamodel.MapIterator
- func (Shredding) Prototype() datamodel.NodePrototype
- func (n Shredding) Representation() datamodel.Node
- func (Shredding) 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() (datamodel.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Kind() datamodel.Kind
- func (String) Length() int64
- func (String) ListIterator() datamodel.ListIterator
- func (String) LookupByIndex(idx int64) (datamodel.Node, error)
- func (String) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (String) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (String) LookupByString(string) (datamodel.Node, error)
- func (String) MapIterator() datamodel.MapIterator
- func (String) Prototype() datamodel.NodePrototype
- func (n String) Representation() datamodel.Node
- func (n String) String() string
- func (String) Type() schema.Type
- type Transaction
- func (Transaction) AsBool() (bool, error)
- func (n Transaction) AsBytes() ([]byte, error)
- func (Transaction) AsFloat() (float64, error)
- func (Transaction) AsInt() (int64, error)
- func (Transaction) AsLink() (datamodel.Link, error)
- func (Transaction) AsString() (string, error)
- func (n Transaction) Bytes() []byte
- func (Transaction) IsAbsent() bool
- func (Transaction) IsNull() bool
- func (Transaction) Kind() datamodel.Kind
- func (Transaction) Length() int64
- func (Transaction) ListIterator() datamodel.ListIterator
- func (Transaction) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Transaction) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Transaction) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Transaction) LookupByString(string) (datamodel.Node, error)
- func (Transaction) MapIterator() datamodel.MapIterator
- func (Transaction) Prototype() datamodel.NodePrototype
- func (n Transaction) Representation() datamodel.Node
- func (Transaction) Type() schema.Type
- type TransactionList
- func (TransactionList) AsBool() (bool, error)
- func (TransactionList) AsBytes() ([]byte, error)
- func (TransactionList) AsFloat() (float64, error)
- func (TransactionList) AsInt() (int64, error)
- func (TransactionList) AsLink() (datamodel.Link, error)
- func (TransactionList) AsString() (string, error)
- func (TransactionList) IsAbsent() bool
- func (TransactionList) IsNull() bool
- func (n TransactionList) Iterator() *TransactionList__Itr
- func (TransactionList) Kind() datamodel.Kind
- func (n TransactionList) Length() int64
- func (n TransactionList) ListIterator() datamodel.ListIterator
- func (n TransactionList) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n TransactionList) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n TransactionList) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (TransactionList) LookupByString(string) (datamodel.Node, error)
- func (TransactionList) MapIterator() datamodel.MapIterator
- func (TransactionList) Prototype() datamodel.NodePrototype
- func (n TransactionList) Representation() datamodel.Node
- func (TransactionList) Type() schema.Type
- type TransactionList__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:
ipldsch.Type.YourTypeName.NewBuilder().BeginMap() //...
and:
ipldsch.Type.OtherTypeName.NewBuilder().AssignString("x") // ...
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block = *_Block
Block matches the IPLD Schema type "Block". It has struct type-kind, and may be interrogated like map kind.
func (Block) ListIterator ¶
func (Block) ListIterator() datamodel.ListIterator
func (Block) LookupBySegment ¶
func (Block) MapIterator ¶
func (n Block) MapIterator() datamodel.MapIterator
func (Block) Prototype ¶
func (Block) Prototype() datamodel.NodePrototype
func (Block) Representation ¶
type Bool ¶
type Bool = *_Bool
Bool matches the IPLD Schema type "Bool". It has bool kind.
func (Bool) ListIterator ¶
func (Bool) ListIterator() datamodel.ListIterator
func (Bool) LookupBySegment ¶
func (Bool) MapIterator ¶
func (Bool) MapIterator() datamodel.MapIterator
func (Bool) Prototype ¶
func (Bool) Prototype() datamodel.NodePrototype
func (Bool) Representation ¶
type Bytes ¶
type Bytes = *_Bytes
Bytes matches the IPLD Schema type "Bytes". It has bytes kind.
func (Bytes) ListIterator ¶
func (Bytes) ListIterator() datamodel.ListIterator
func (Bytes) LookupBySegment ¶
func (Bytes) MapIterator ¶
func (Bytes) MapIterator() datamodel.MapIterator
func (Bytes) Prototype ¶
func (Bytes) Prototype() datamodel.NodePrototype
func (Bytes) Representation ¶
type Entry ¶
type Entry = *_Entry
Entry matches the IPLD Schema type "Entry". It has struct type-kind, and may be interrogated like map kind.
func (Entry) ListIterator ¶
func (Entry) ListIterator() datamodel.ListIterator
func (Entry) LookupBySegment ¶
func (Entry) MapIterator ¶
func (n Entry) MapIterator() datamodel.MapIterator
func (Entry) Prototype ¶
func (Entry) Prototype() datamodel.NodePrototype
func (Entry) Representation ¶
type Float ¶
type Float = *_Float
Float matches the IPLD Schema type "Float". It has float kind.
func (Float) ListIterator ¶
func (Float) ListIterator() datamodel.ListIterator
func (Float) LookupBySegment ¶
func (Float) MapIterator ¶
func (Float) MapIterator() datamodel.MapIterator
func (Float) Prototype ¶
func (Float) Prototype() datamodel.NodePrototype
func (Float) Representation ¶
type Hash ¶
type Hash = *_Hash
Hash matches the IPLD Schema type "Hash". It has bytes kind.
func (Hash) ListIterator ¶
func (Hash) ListIterator() datamodel.ListIterator
func (Hash) LookupBySegment ¶
func (Hash) MapIterator ¶
func (Hash) MapIterator() datamodel.MapIterator
func (Hash) Prototype ¶
func (Hash) Prototype() datamodel.NodePrototype
func (Hash) Representation ¶
type Int ¶
type Int = *_Int
Int matches the IPLD Schema type "Int". It has int kind.
func (Int) ListIterator ¶
func (Int) ListIterator() datamodel.ListIterator
func (Int) LookupBySegment ¶
func (Int) MapIterator ¶
func (Int) MapIterator() datamodel.MapIterator
func (Int) Prototype ¶
func (Int) Prototype() datamodel.NodePrototype
func (Int) Representation ¶
type Link ¶
type Link = *_Link
Link matches the IPLD Schema type "Link". It has link kind.
func (Link) ListIterator ¶
func (Link) ListIterator() datamodel.ListIterator
func (Link) LookupBySegment ¶
func (Link) MapIterator ¶
func (Link) MapIterator() datamodel.MapIterator
func (Link) Prototype ¶
func (Link) Prototype() datamodel.NodePrototype
func (Link) Representation ¶
type List__Link ¶
type List__Link = *_List__Link
List__Link matches the IPLD Schema type "List__Link". It has list kind.
func (List__Link) AsBool ¶
func (List__Link) AsBool() (bool, error)
func (List__Link) AsBytes ¶
func (List__Link) AsBytes() ([]byte, error)
func (List__Link) AsFloat ¶
func (List__Link) AsFloat() (float64, error)
func (List__Link) AsInt ¶
func (List__Link) AsInt() (int64, error)
func (List__Link) AsString ¶
func (List__Link) AsString() (string, error)
func (List__Link) IsAbsent ¶
func (List__Link) IsAbsent() bool
func (List__Link) IsNull ¶
func (List__Link) IsNull() bool
func (List__Link) Iterator ¶
func (n List__Link) Iterator() *List__Link__Itr
func (List__Link) Kind ¶
func (List__Link) Kind() datamodel.Kind
func (List__Link) Length ¶
func (n List__Link) Length() int64
func (List__Link) ListIterator ¶
func (n List__Link) ListIterator() datamodel.ListIterator
func (List__Link) LookupByIndex ¶
func (n List__Link) LookupByIndex(idx int64) (datamodel.Node, error)
func (List__Link) LookupByNode ¶
func (List__Link) LookupBySegment ¶
func (n List__Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
func (List__Link) LookupByString ¶
func (List__Link) LookupByString(string) (datamodel.Node, error)
func (List__Link) MapIterator ¶
func (List__Link) MapIterator() datamodel.MapIterator
func (List__Link) Prototype ¶
func (List__Link) Prototype() datamodel.NodePrototype
func (List__Link) Representation ¶
func (n List__Link) Representation() datamodel.Node
func (List__Link) Type ¶
func (List__Link) Type() schema.Type
type List__Link__Itr ¶
type List__Link__Itr struct {
// contains filtered or unexported fields
}
func (*List__Link__Itr) Done ¶
func (itr *List__Link__Itr) Done() bool
func (*List__Link__Itr) Next ¶
func (itr *List__Link__Itr) Next() (idx int64, v Link)
type List__Shredding ¶
type List__Shredding = *_List__Shredding
List__Shredding matches the IPLD Schema type "List__Shredding". It has list kind.
func (List__Shredding) AsBool ¶
func (List__Shredding) AsBool() (bool, error)
func (List__Shredding) AsBytes ¶
func (List__Shredding) AsBytes() ([]byte, error)
func (List__Shredding) AsFloat ¶
func (List__Shredding) AsFloat() (float64, error)
func (List__Shredding) AsInt ¶
func (List__Shredding) AsInt() (int64, error)
func (List__Shredding) AsString ¶
func (List__Shredding) AsString() (string, error)
func (List__Shredding) IsAbsent ¶
func (List__Shredding) IsAbsent() bool
func (List__Shredding) IsNull ¶
func (List__Shredding) IsNull() bool
func (List__Shredding) Iterator ¶
func (n List__Shredding) Iterator() *List__Shredding__Itr
func (List__Shredding) Kind ¶
func (List__Shredding) Kind() datamodel.Kind
func (List__Shredding) Length ¶
func (n List__Shredding) Length() int64
func (List__Shredding) ListIterator ¶
func (n List__Shredding) ListIterator() datamodel.ListIterator
func (List__Shredding) LookupByIndex ¶
func (n List__Shredding) LookupByIndex(idx int64) (datamodel.Node, error)
func (List__Shredding) LookupByNode ¶
func (List__Shredding) LookupBySegment ¶
func (n List__Shredding) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
func (List__Shredding) LookupByString ¶
func (List__Shredding) LookupByString(string) (datamodel.Node, error)
func (List__Shredding) MapIterator ¶
func (List__Shredding) MapIterator() datamodel.MapIterator
func (List__Shredding) Prototype ¶
func (List__Shredding) Prototype() datamodel.NodePrototype
func (List__Shredding) Representation ¶
func (n List__Shredding) Representation() datamodel.Node
func (List__Shredding) Type ¶
func (List__Shredding) Type() schema.Type
type List__Shredding__Itr ¶
type List__Shredding__Itr struct {
// contains filtered or unexported fields
}
func (*List__Shredding__Itr) Done ¶
func (itr *List__Shredding__Itr) Done() bool
func (*List__Shredding__Itr) Next ¶
func (itr *List__Shredding__Itr) Next() (idx int64, v Shredding)
type MaybeBlock ¶
type MaybeBlock = *_Block__Maybe
func (MaybeBlock) AsNode ¶
func (m MaybeBlock) AsNode() datamodel.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() datamodel.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 MaybeEntry ¶
type MaybeEntry = *_Entry__Maybe
func (MaybeEntry) AsNode ¶
func (m MaybeEntry) AsNode() datamodel.Node
func (MaybeEntry) Exists ¶
func (m MaybeEntry) Exists() bool
func (MaybeEntry) IsAbsent ¶
func (m MaybeEntry) IsAbsent() bool
func (MaybeEntry) IsNull ¶
func (m MaybeEntry) IsNull() bool
func (MaybeEntry) Must ¶
func (m MaybeEntry) Must() Entry
type MaybeFloat ¶
type MaybeFloat = *_Float__Maybe
func (MaybeFloat) AsNode ¶
func (m MaybeFloat) AsNode() datamodel.Node
func (MaybeFloat) Exists ¶
func (m MaybeFloat) Exists() bool
func (MaybeFloat) IsAbsent ¶
func (m MaybeFloat) IsAbsent() bool
func (MaybeFloat) IsNull ¶
func (m MaybeFloat) IsNull() bool
func (MaybeFloat) Must ¶
func (m MaybeFloat) Must() Float
type MaybeList__Link ¶
type MaybeList__Link = *_List__Link__Maybe
func (MaybeList__Link) AsNode ¶
func (m MaybeList__Link) AsNode() datamodel.Node
func (MaybeList__Link) Exists ¶
func (m MaybeList__Link) Exists() bool
func (MaybeList__Link) IsAbsent ¶
func (m MaybeList__Link) IsAbsent() bool
func (MaybeList__Link) IsNull ¶
func (m MaybeList__Link) IsNull() bool
func (MaybeList__Link) Must ¶
func (m MaybeList__Link) Must() List__Link
type MaybeList__Shredding ¶
type MaybeList__Shredding = *_List__Shredding__Maybe
func (MaybeList__Shredding) AsNode ¶
func (m MaybeList__Shredding) AsNode() datamodel.Node
func (MaybeList__Shredding) Exists ¶
func (m MaybeList__Shredding) Exists() bool
func (MaybeList__Shredding) IsAbsent ¶
func (m MaybeList__Shredding) IsAbsent() bool
func (MaybeList__Shredding) IsNull ¶
func (m MaybeList__Shredding) IsNull() bool
func (MaybeList__Shredding) Must ¶
func (m MaybeList__Shredding) Must() List__Shredding
type MaybeShredding ¶
type MaybeShredding = *_Shredding__Maybe
func (MaybeShredding) AsNode ¶
func (m MaybeShredding) AsNode() datamodel.Node
func (MaybeShredding) Exists ¶
func (m MaybeShredding) Exists() bool
func (MaybeShredding) IsAbsent ¶
func (m MaybeShredding) IsAbsent() bool
func (MaybeShredding) IsNull ¶
func (m MaybeShredding) IsNull() bool
func (MaybeShredding) Must ¶
func (m MaybeShredding) Must() Shredding
type MaybeString ¶
type MaybeString = *_String__Maybe
func (MaybeString) AsNode ¶
func (m MaybeString) AsNode() datamodel.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 MaybeTransaction ¶
type MaybeTransaction = *_Transaction__Maybe
func (MaybeTransaction) AsNode ¶
func (m MaybeTransaction) AsNode() datamodel.Node
func (MaybeTransaction) Exists ¶
func (m MaybeTransaction) Exists() bool
func (MaybeTransaction) IsAbsent ¶
func (m MaybeTransaction) IsAbsent() bool
func (MaybeTransaction) IsNull ¶
func (m MaybeTransaction) IsNull() bool
func (MaybeTransaction) Must ¶
func (m MaybeTransaction) Must() Transaction
type MaybeTransactionList ¶
type MaybeTransactionList = *_TransactionList__Maybe
func (MaybeTransactionList) AsNode ¶
func (m MaybeTransactionList) AsNode() datamodel.Node
func (MaybeTransactionList) Exists ¶
func (m MaybeTransactionList) Exists() bool
func (MaybeTransactionList) IsAbsent ¶
func (m MaybeTransactionList) IsAbsent() bool
func (MaybeTransactionList) IsNull ¶
func (m MaybeTransactionList) IsNull() bool
func (MaybeTransactionList) Must ¶
func (m MaybeTransactionList) Must() TransactionList
type Shredding ¶
type Shredding = *_Shredding
Shredding matches the IPLD Schema type "Shredding". It has struct type-kind, and may be interrogated like map kind.
func (Shredding) ListIterator ¶
func (Shredding) ListIterator() datamodel.ListIterator
func (Shredding) LookupByNode ¶
func (Shredding) LookupBySegment ¶
func (Shredding) LookupByString ¶
func (Shredding) MapIterator ¶
func (n Shredding) MapIterator() datamodel.MapIterator
func (Shredding) Prototype ¶
func (Shredding) Prototype() datamodel.NodePrototype
func (Shredding) Representation ¶
type String ¶
type String = *_String
String matches the IPLD Schema type "String". It has string kind.
func (String) ListIterator ¶
func (String) ListIterator() datamodel.ListIterator
func (String) LookupBySegment ¶
func (String) MapIterator ¶
func (String) MapIterator() datamodel.MapIterator
func (String) Prototype ¶
func (String) Prototype() datamodel.NodePrototype
func (String) Representation ¶
type Transaction ¶
type Transaction = *_Transaction
Transaction matches the IPLD Schema type "Transaction". It has bytes kind.
func (Transaction) AsBool ¶
func (Transaction) AsBool() (bool, error)
func (Transaction) AsBytes ¶
func (n Transaction) AsBytes() ([]byte, error)
func (Transaction) AsFloat ¶
func (Transaction) AsFloat() (float64, error)
func (Transaction) AsInt ¶
func (Transaction) AsInt() (int64, error)
func (Transaction) AsString ¶
func (Transaction) AsString() (string, error)
func (Transaction) Bytes ¶
func (n Transaction) Bytes() []byte
func (Transaction) IsAbsent ¶
func (Transaction) IsAbsent() bool
func (Transaction) IsNull ¶
func (Transaction) IsNull() bool
func (Transaction) Kind ¶
func (Transaction) Kind() datamodel.Kind
func (Transaction) Length ¶
func (Transaction) Length() int64
func (Transaction) ListIterator ¶
func (Transaction) ListIterator() datamodel.ListIterator
func (Transaction) LookupByIndex ¶
func (Transaction) LookupByIndex(idx int64) (datamodel.Node, error)
func (Transaction) LookupByNode ¶
func (Transaction) LookupBySegment ¶
func (Transaction) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
func (Transaction) LookupByString ¶
func (Transaction) LookupByString(string) (datamodel.Node, error)
func (Transaction) MapIterator ¶
func (Transaction) MapIterator() datamodel.MapIterator
func (Transaction) Prototype ¶
func (Transaction) Prototype() datamodel.NodePrototype
func (Transaction) Representation ¶
func (n Transaction) Representation() datamodel.Node
func (Transaction) Type ¶
func (Transaction) Type() schema.Type
type TransactionList ¶
type TransactionList = *_TransactionList
TransactionList matches the IPLD Schema type "TransactionList". It has list kind.
func (TransactionList) AsBool ¶
func (TransactionList) AsBool() (bool, error)
func (TransactionList) AsBytes ¶
func (TransactionList) AsBytes() ([]byte, error)
func (TransactionList) AsFloat ¶
func (TransactionList) AsFloat() (float64, error)
func (TransactionList) AsInt ¶
func (TransactionList) AsInt() (int64, error)
func (TransactionList) AsString ¶
func (TransactionList) AsString() (string, error)
func (TransactionList) IsAbsent ¶
func (TransactionList) IsAbsent() bool
func (TransactionList) IsNull ¶
func (TransactionList) IsNull() bool
func (TransactionList) Iterator ¶
func (n TransactionList) Iterator() *TransactionList__Itr
func (TransactionList) Kind ¶
func (TransactionList) Kind() datamodel.Kind
func (TransactionList) Length ¶
func (n TransactionList) Length() int64
func (TransactionList) ListIterator ¶
func (n TransactionList) ListIterator() datamodel.ListIterator
func (TransactionList) LookupByIndex ¶
func (n TransactionList) LookupByIndex(idx int64) (datamodel.Node, error)
func (TransactionList) LookupByNode ¶
func (TransactionList) LookupBySegment ¶
func (n TransactionList) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
func (TransactionList) LookupByString ¶
func (TransactionList) LookupByString(string) (datamodel.Node, error)
func (TransactionList) MapIterator ¶
func (TransactionList) MapIterator() datamodel.MapIterator
func (TransactionList) Prototype ¶
func (TransactionList) Prototype() datamodel.NodePrototype
func (TransactionList) Representation ¶
func (n TransactionList) Representation() datamodel.Node
func (TransactionList) Type ¶
func (TransactionList) Type() schema.Type
type TransactionList__Itr ¶
type TransactionList__Itr struct {
// contains filtered or unexported fields
}
func (*TransactionList__Itr) Done ¶
func (itr *TransactionList__Itr) Done() bool
func (*TransactionList__Itr) Next ¶
func (itr *TransactionList__Itr) Next() (idx int64, v Link)