dagjose

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 18 Imported by: 1

Documentation

Index

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:

dagjose.Type.YourTypeName.NewBuilder().BeginMap() //...

and:

dagjose.Type.OtherTypeName.NewBuilder().AssignString("x") // ...

Functions

func Decode

func Decode(na datamodel.NodeAssembler, r io.Reader) error

Decode deserializes data from the given io.Reader and feeds it into the given datamodel.NodeAssembler. Decode fits the codec.Decoder function interface.

func Encode

func Encode(n datamodel.Node, w io.Writer) error

Encode walks the given datamodel.Node and serializes it to the given io.Writer. Encode fits the codec.Encoder function interface.

func EncodeJWE

func EncodeJWE(n datamodel.Node, w io.Writer) error

func EncodeJWS

func EncodeJWS(n datamodel.Node, w io.Writer) error

Types

type Any

type Any = *_Any

Any matches the IPLD Schema type "Any". Any has union typekind, which means its data model behaviors are that of a map kind.

func (Any) AsBool

func (Any) AsBool() (bool, error)

func (Any) AsBytes

func (Any) AsBytes() ([]byte, error)

func (Any) AsFloat

func (Any) AsFloat() (float64, error)

func (Any) AsInt

func (Any) AsInt() (int64, error)
func (Any) AsLink() (datamodel.Link, error)

func (Any) AsString

func (Any) AsString() (string, error)

func (Any) IsAbsent

func (Any) IsAbsent() bool

func (Any) IsNull

func (Any) IsNull() bool

func (Any) Kind

func (Any) Kind() datamodel.Kind

func (Any) Length

func (Any) Length() int64

func (Any) ListIterator

func (Any) ListIterator() datamodel.ListIterator

func (Any) LookupByIndex

func (Any) LookupByIndex(idx int64) (datamodel.Node, error)

func (Any) LookupByNode

func (n Any) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (Any) LookupBySegment

func (n Any) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Any) LookupByString

func (n Any) LookupByString(key string) (datamodel.Node, error)

func (Any) MapIterator

func (n Any) MapIterator() datamodel.MapIterator

func (Any) Prototype

func (Any) Prototype() datamodel.NodePrototype

func (Any) Representation

func (n Any) Representation() datamodel.Node

func (Any) Type

func (Any) Type() schema.Type

type Base64Url

type Base64Url = *_Base64Url

Base64Url matches the IPLD Schema type "Base64Url". It has string kind.

func (Base64Url) AsBool

func (Base64Url) AsBool() (bool, error)

func (Base64Url) AsBytes

func (n Base64Url) AsBytes() ([]byte, error)

func (Base64Url) AsFloat

func (Base64Url) AsFloat() (float64, error)

func (Base64Url) AsInt

func (Base64Url) AsInt() (int64, error)
func (Base64Url) AsLink() (datamodel.Link, error)

func (Base64Url) AsString

func (n Base64Url) AsString() (string, error)

func (Base64Url) IsAbsent

func (Base64Url) IsAbsent() bool

func (Base64Url) IsNull

func (Base64Url) IsNull() bool

func (Base64Url) Kind

func (Base64Url) Kind() datamodel.Kind

func (Base64Url) Length

func (Base64Url) Length() int64

func (Base64Url) ListIterator

func (Base64Url) ListIterator() datamodel.ListIterator

func (Base64Url) LookupByIndex

func (Base64Url) LookupByIndex(idx int64) (datamodel.Node, error)

func (Base64Url) LookupByNode

func (Base64Url) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Base64Url) LookupBySegment

func (Base64Url) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Base64Url) LookupByString

func (Base64Url) LookupByString(string) (datamodel.Node, error)

func (Base64Url) MapIterator

func (Base64Url) MapIterator() datamodel.MapIterator

func (Base64Url) Prototype

func (Base64Url) Prototype() datamodel.NodePrototype

func (Base64Url) Representation

func (n Base64Url) Representation() datamodel.Node

func (Base64Url) Type

func (Base64Url) Type() schema.Type

type Bytes

type Bytes = *_Bytes

Bytes matches the IPLD Schema type "Bytes". It has bytes kind.

func (Bytes) AsBool

func (Bytes) AsBool() (bool, error)

func (Bytes) AsBytes

func (n Bytes) AsBytes() ([]byte, error)

func (Bytes) AsFloat

func (Bytes) AsFloat() (float64, error)

func (Bytes) AsInt

func (Bytes) AsInt() (int64, error)
func (Bytes) AsLink() (datamodel.Link, error)

func (Bytes) AsString

func (Bytes) AsString() (string, error)

func (Bytes) Bytes

func (n Bytes) Bytes() []byte

func (Bytes) IsAbsent

func (Bytes) IsAbsent() bool

func (Bytes) IsNull

func (Bytes) IsNull() bool

func (Bytes) Kind

func (Bytes) Kind() datamodel.Kind

func (Bytes) Length

func (Bytes) Length() int64

func (Bytes) ListIterator

func (Bytes) ListIterator() datamodel.ListIterator

func (Bytes) LookupByIndex

func (Bytes) LookupByIndex(idx int64) (datamodel.Node, error)

func (Bytes) LookupByNode

func (Bytes) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Bytes) LookupBySegment

func (Bytes) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Bytes) LookupByString

func (Bytes) LookupByString(string) (datamodel.Node, error)

func (Bytes) MapIterator

func (Bytes) MapIterator() datamodel.MapIterator

func (Bytes) Prototype

func (Bytes) Prototype() datamodel.NodePrototype

func (Bytes) Representation

func (n Bytes) Representation() datamodel.Node

func (Bytes) Type

func (Bytes) Type() schema.Type

type DecodeOptions

type DecodeOptions struct {
	// If true and the `payload` field is present, add a `link` field corresponding to the `payload`.
	AddLink bool
}

DecodeOptions can be used to customize the behavior of a decoding function. The Decode method on this struct fits the codec.Decoder function interface.

func (DecodeOptions) Decode

func (cfg DecodeOptions) Decode(na datamodel.NodeAssembler, r io.Reader) error

Decode deserializes data from the given io.Reader and feeds it into the given datamodel.NodeAssembler. Decode fits the codec.Decoder function interface.

func (DecodeOptions) DecodeJWE

func (DecodeOptions) DecodeJWS

func (cfg DecodeOptions) DecodeJWS(na datamodel.NodeAssembler, r io.Reader) error

type DecodedJWE

type DecodedJWE = *_DecodedJWE

DecodedJWE matches the IPLD Schema type "DecodedJWE". It has struct type-kind, and may be interrogated like map kind.

func (DecodedJWE) AsBool

func (DecodedJWE) AsBool() (bool, error)

func (DecodedJWE) AsBytes

func (DecodedJWE) AsBytes() ([]byte, error)

func (DecodedJWE) AsFloat

func (DecodedJWE) AsFloat() (float64, error)

func (DecodedJWE) AsInt

func (DecodedJWE) AsInt() (int64, error)
func (DecodedJWE) AsLink() (datamodel.Link, error)

func (DecodedJWE) AsString

func (DecodedJWE) AsString() (string, error)

func (DecodedJWE) IsAbsent

func (DecodedJWE) IsAbsent() bool

func (DecodedJWE) IsNull

func (DecodedJWE) IsNull() bool

func (DecodedJWE) Kind

func (DecodedJWE) Kind() datamodel.Kind

func (DecodedJWE) Length

func (DecodedJWE) Length() int64

func (DecodedJWE) ListIterator

func (DecodedJWE) ListIterator() datamodel.ListIterator

func (DecodedJWE) LookupByIndex

func (DecodedJWE) LookupByIndex(idx int64) (datamodel.Node, error)

func (DecodedJWE) LookupByNode

func (n DecodedJWE) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (DecodedJWE) LookupBySegment

func (n DecodedJWE) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (DecodedJWE) LookupByString

func (n DecodedJWE) LookupByString(key string) (datamodel.Node, error)

func (DecodedJWE) MapIterator

func (n DecodedJWE) MapIterator() datamodel.MapIterator

func (DecodedJWE) Prototype

func (DecodedJWE) Prototype() datamodel.NodePrototype

func (DecodedJWE) Representation

func (n DecodedJWE) Representation() datamodel.Node

func (DecodedJWE) Type

func (DecodedJWE) Type() schema.Type

type DecodedJWS

type DecodedJWS = *_DecodedJWS

DecodedJWS matches the IPLD Schema type "DecodedJWS". It has struct type-kind, and may be interrogated like map kind.

func (DecodedJWS) AsBool

func (DecodedJWS) AsBool() (bool, error)

func (DecodedJWS) AsBytes

func (DecodedJWS) AsBytes() ([]byte, error)

func (DecodedJWS) AsFloat

func (DecodedJWS) AsFloat() (float64, error)

func (DecodedJWS) AsInt

func (DecodedJWS) AsInt() (int64, error)
func (DecodedJWS) AsLink() (datamodel.Link, error)

func (DecodedJWS) AsString

func (DecodedJWS) AsString() (string, error)

func (DecodedJWS) IsAbsent

func (DecodedJWS) IsAbsent() bool

func (DecodedJWS) IsNull

func (DecodedJWS) IsNull() bool

func (DecodedJWS) Kind

func (DecodedJWS) Kind() datamodel.Kind

func (DecodedJWS) Length

func (DecodedJWS) Length() int64

func (DecodedJWS) ListIterator

func (DecodedJWS) ListIterator() datamodel.ListIterator

func (DecodedJWS) LookupByIndex

func (DecodedJWS) LookupByIndex(idx int64) (datamodel.Node, error)

func (DecodedJWS) LookupByNode

func (n DecodedJWS) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (DecodedJWS) LookupBySegment

func (n DecodedJWS) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (DecodedJWS) LookupByString

func (n DecodedJWS) LookupByString(key string) (datamodel.Node, error)

func (DecodedJWS) MapIterator

func (n DecodedJWS) MapIterator() datamodel.MapIterator

func (DecodedJWS) Prototype

func (DecodedJWS) Prototype() datamodel.NodePrototype

func (DecodedJWS) Representation

func (n DecodedJWS) Representation() datamodel.Node

func (DecodedJWS) Type

func (DecodedJWS) Type() schema.Type

type DecodedRecipient

type DecodedRecipient = *_DecodedRecipient

DecodedRecipient matches the IPLD Schema type "DecodedRecipient". It has struct type-kind, and may be interrogated like map kind.

func (DecodedRecipient) AsBool

func (DecodedRecipient) AsBool() (bool, error)

func (DecodedRecipient) AsBytes

func (DecodedRecipient) AsBytes() ([]byte, error)

func (DecodedRecipient) AsFloat

func (DecodedRecipient) AsFloat() (float64, error)

func (DecodedRecipient) AsInt

func (DecodedRecipient) AsInt() (int64, error)
func (DecodedRecipient) AsLink() (datamodel.Link, error)

func (DecodedRecipient) AsString

func (DecodedRecipient) AsString() (string, error)

func (DecodedRecipient) IsAbsent

func (DecodedRecipient) IsAbsent() bool

func (DecodedRecipient) IsNull

func (DecodedRecipient) IsNull() bool

func (DecodedRecipient) Kind

func (DecodedRecipient) Length

func (DecodedRecipient) Length() int64

func (DecodedRecipient) ListIterator

func (DecodedRecipient) ListIterator() datamodel.ListIterator

func (DecodedRecipient) LookupByIndex

func (DecodedRecipient) LookupByIndex(idx int64) (datamodel.Node, error)

func (DecodedRecipient) LookupByNode

func (n DecodedRecipient) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (DecodedRecipient) LookupBySegment

func (n DecodedRecipient) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (DecodedRecipient) LookupByString

func (n DecodedRecipient) LookupByString(key string) (datamodel.Node, error)

func (DecodedRecipient) MapIterator

func (n DecodedRecipient) MapIterator() datamodel.MapIterator

func (DecodedRecipient) Prototype

func (DecodedRecipient) Representation

func (n DecodedRecipient) Representation() datamodel.Node

func (DecodedRecipient) Type

func (DecodedRecipient) Type() schema.Type

type DecodedRecipients

type DecodedRecipients = *_DecodedRecipients

DecodedRecipients matches the IPLD Schema type "DecodedRecipients". It has list kind.

func (DecodedRecipients) AsBool

func (DecodedRecipients) AsBool() (bool, error)

func (DecodedRecipients) AsBytes

func (DecodedRecipients) AsBytes() ([]byte, error)

func (DecodedRecipients) AsFloat

func (DecodedRecipients) AsFloat() (float64, error)

func (DecodedRecipients) AsInt

func (DecodedRecipients) AsInt() (int64, error)
func (DecodedRecipients) AsLink() (datamodel.Link, error)

func (DecodedRecipients) AsString

func (DecodedRecipients) AsString() (string, error)

func (DecodedRecipients) IsAbsent

func (DecodedRecipients) IsAbsent() bool

func (DecodedRecipients) IsNull

func (DecodedRecipients) IsNull() bool

func (DecodedRecipients) Iterator

func (DecodedRecipients) Kind

func (DecodedRecipients) Length

func (n DecodedRecipients) Length() int64

func (DecodedRecipients) ListIterator

func (n DecodedRecipients) ListIterator() datamodel.ListIterator

func (DecodedRecipients) LookupByIndex

func (n DecodedRecipients) LookupByIndex(idx int64) (datamodel.Node, error)

func (DecodedRecipients) LookupByNode

func (n DecodedRecipients) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (DecodedRecipients) LookupBySegment

func (n DecodedRecipients) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (DecodedRecipients) LookupByString

func (DecodedRecipients) LookupByString(string) (datamodel.Node, error)

func (DecodedRecipients) MapIterator

func (DecodedRecipients) MapIterator() datamodel.MapIterator

func (DecodedRecipients) Prototype

func (DecodedRecipients) Representation

func (n DecodedRecipients) Representation() datamodel.Node

func (DecodedRecipients) Type

func (DecodedRecipients) Type() schema.Type

type DecodedRecipients__Itr

type DecodedRecipients__Itr struct {
	// contains filtered or unexported fields
}

func (*DecodedRecipients__Itr) Done

func (itr *DecodedRecipients__Itr) Done() bool

func (*DecodedRecipients__Itr) Next

func (itr *DecodedRecipients__Itr) Next() (idx int64, v DecodedRecipient)

type DecodedSignature

type DecodedSignature = *_DecodedSignature

DecodedSignature matches the IPLD Schema type "DecodedSignature". It has struct type-kind, and may be interrogated like map kind.

func (DecodedSignature) AsBool

func (DecodedSignature) AsBool() (bool, error)

func (DecodedSignature) AsBytes

func (DecodedSignature) AsBytes() ([]byte, error)

func (DecodedSignature) AsFloat

func (DecodedSignature) AsFloat() (float64, error)

func (DecodedSignature) AsInt

func (DecodedSignature) AsInt() (int64, error)
func (DecodedSignature) AsLink() (datamodel.Link, error)

func (DecodedSignature) AsString

func (DecodedSignature) AsString() (string, error)

func (DecodedSignature) IsAbsent

func (DecodedSignature) IsAbsent() bool

func (DecodedSignature) IsNull

func (DecodedSignature) IsNull() bool

func (DecodedSignature) Kind

func (DecodedSignature) Length

func (DecodedSignature) Length() int64

func (DecodedSignature) ListIterator

func (DecodedSignature) ListIterator() datamodel.ListIterator

func (DecodedSignature) LookupByIndex

func (DecodedSignature) LookupByIndex(idx int64) (datamodel.Node, error)

func (DecodedSignature) LookupByNode

func (n DecodedSignature) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (DecodedSignature) LookupBySegment

func (n DecodedSignature) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (DecodedSignature) LookupByString

func (n DecodedSignature) LookupByString(key string) (datamodel.Node, error)

func (DecodedSignature) MapIterator

func (n DecodedSignature) MapIterator() datamodel.MapIterator

func (DecodedSignature) Prototype

func (DecodedSignature) Representation

func (n DecodedSignature) Representation() datamodel.Node

func (DecodedSignature) Type

func (DecodedSignature) Type() schema.Type

type DecodedSignatures

type DecodedSignatures = *_DecodedSignatures

DecodedSignatures matches the IPLD Schema type "DecodedSignatures". It has list kind.

func (DecodedSignatures) AsBool

func (DecodedSignatures) AsBool() (bool, error)

func (DecodedSignatures) AsBytes

func (DecodedSignatures) AsBytes() ([]byte, error)

func (DecodedSignatures) AsFloat

func (DecodedSignatures) AsFloat() (float64, error)

func (DecodedSignatures) AsInt

func (DecodedSignatures) AsInt() (int64, error)
func (DecodedSignatures) AsLink() (datamodel.Link, error)

func (DecodedSignatures) AsString

func (DecodedSignatures) AsString() (string, error)

func (DecodedSignatures) IsAbsent

func (DecodedSignatures) IsAbsent() bool

func (DecodedSignatures) IsNull

func (DecodedSignatures) IsNull() bool

func (DecodedSignatures) Iterator

func (DecodedSignatures) Kind

func (DecodedSignatures) Length

func (n DecodedSignatures) Length() int64

func (DecodedSignatures) ListIterator

func (n DecodedSignatures) ListIterator() datamodel.ListIterator

func (DecodedSignatures) LookupByIndex

func (n DecodedSignatures) LookupByIndex(idx int64) (datamodel.Node, error)

func (DecodedSignatures) LookupByNode

func (n DecodedSignatures) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (DecodedSignatures) LookupBySegment

func (n DecodedSignatures) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (DecodedSignatures) LookupByString

func (DecodedSignatures) LookupByString(string) (datamodel.Node, error)

func (DecodedSignatures) MapIterator

func (DecodedSignatures) MapIterator() datamodel.MapIterator

func (DecodedSignatures) Prototype

func (DecodedSignatures) Representation

func (n DecodedSignatures) Representation() datamodel.Node

func (DecodedSignatures) Type

func (DecodedSignatures) Type() schema.Type

type DecodedSignatures__Itr

type DecodedSignatures__Itr struct {
	// contains filtered or unexported fields
}

func (*DecodedSignatures__Itr) Done

func (itr *DecodedSignatures__Itr) Done() bool

func (*DecodedSignatures__Itr) Next

func (itr *DecodedSignatures__Itr) Next() (idx int64, v DecodedSignature)

type EncodedJWE

type EncodedJWE = *_EncodedJWE

EncodedJWE matches the IPLD Schema type "EncodedJWE". It has struct type-kind, and may be interrogated like map kind.

func (EncodedJWE) AsBool

func (EncodedJWE) AsBool() (bool, error)

func (EncodedJWE) AsBytes

func (EncodedJWE) AsBytes() ([]byte, error)

func (EncodedJWE) AsFloat

func (EncodedJWE) AsFloat() (float64, error)

func (EncodedJWE) AsInt

func (EncodedJWE) AsInt() (int64, error)
func (EncodedJWE) AsLink() (datamodel.Link, error)

func (EncodedJWE) AsString

func (EncodedJWE) AsString() (string, error)

func (EncodedJWE) IsAbsent

func (EncodedJWE) IsAbsent() bool

func (EncodedJWE) IsNull

func (EncodedJWE) IsNull() bool

func (EncodedJWE) Kind

func (EncodedJWE) Kind() datamodel.Kind

func (EncodedJWE) Length

func (EncodedJWE) Length() int64

func (EncodedJWE) ListIterator

func (EncodedJWE) ListIterator() datamodel.ListIterator

func (EncodedJWE) LookupByIndex

func (EncodedJWE) LookupByIndex(idx int64) (datamodel.Node, error)

func (EncodedJWE) LookupByNode

func (n EncodedJWE) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (EncodedJWE) LookupBySegment

func (n EncodedJWE) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (EncodedJWE) LookupByString

func (n EncodedJWE) LookupByString(key string) (datamodel.Node, error)

func (EncodedJWE) MapIterator

func (n EncodedJWE) MapIterator() datamodel.MapIterator

func (EncodedJWE) Prototype

func (EncodedJWE) Prototype() datamodel.NodePrototype

func (EncodedJWE) Representation

func (n EncodedJWE) Representation() datamodel.Node

func (EncodedJWE) Type

func (EncodedJWE) Type() schema.Type

type EncodedJWS

type EncodedJWS = *_EncodedJWS

EncodedJWS matches the IPLD Schema type "EncodedJWS". It has struct type-kind, and may be interrogated like map kind.

func (EncodedJWS) AsBool

func (EncodedJWS) AsBool() (bool, error)

func (EncodedJWS) AsBytes

func (EncodedJWS) AsBytes() ([]byte, error)

func (EncodedJWS) AsFloat

func (EncodedJWS) AsFloat() (float64, error)

func (EncodedJWS) AsInt

func (EncodedJWS) AsInt() (int64, error)
func (EncodedJWS) AsLink() (datamodel.Link, error)

func (EncodedJWS) AsString

func (EncodedJWS) AsString() (string, error)

func (EncodedJWS) IsAbsent

func (EncodedJWS) IsAbsent() bool

func (EncodedJWS) IsNull

func (EncodedJWS) IsNull() bool

func (EncodedJWS) Kind

func (EncodedJWS) Kind() datamodel.Kind

func (EncodedJWS) Length

func (EncodedJWS) Length() int64

func (EncodedJWS) ListIterator

func (EncodedJWS) ListIterator() datamodel.ListIterator

func (EncodedJWS) LookupByIndex

func (EncodedJWS) LookupByIndex(idx int64) (datamodel.Node, error)

func (EncodedJWS) LookupByNode

func (n EncodedJWS) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (EncodedJWS) LookupBySegment

func (n EncodedJWS) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (EncodedJWS) LookupByString

func (n EncodedJWS) LookupByString(key string) (datamodel.Node, error)

func (EncodedJWS) MapIterator

func (n EncodedJWS) MapIterator() datamodel.MapIterator

func (EncodedJWS) Prototype

func (EncodedJWS) Prototype() datamodel.NodePrototype

func (EncodedJWS) Representation

func (n EncodedJWS) Representation() datamodel.Node

func (EncodedJWS) Type

func (EncodedJWS) Type() schema.Type

type EncodedRecipient

type EncodedRecipient = *_EncodedRecipient

EncodedRecipient matches the IPLD Schema type "EncodedRecipient". It has struct type-kind, and may be interrogated like map kind.

func (EncodedRecipient) AsBool

func (EncodedRecipient) AsBool() (bool, error)

func (EncodedRecipient) AsBytes

func (EncodedRecipient) AsBytes() ([]byte, error)

func (EncodedRecipient) AsFloat

func (EncodedRecipient) AsFloat() (float64, error)

func (EncodedRecipient) AsInt

func (EncodedRecipient) AsInt() (int64, error)
func (EncodedRecipient) AsLink() (datamodel.Link, error)

func (EncodedRecipient) AsString

func (EncodedRecipient) AsString() (string, error)

func (EncodedRecipient) IsAbsent

func (EncodedRecipient) IsAbsent() bool

func (EncodedRecipient) IsNull

func (EncodedRecipient) IsNull() bool

func (EncodedRecipient) Kind

func (EncodedRecipient) Length

func (EncodedRecipient) Length() int64

func (EncodedRecipient) ListIterator

func (EncodedRecipient) ListIterator() datamodel.ListIterator

func (EncodedRecipient) LookupByIndex

func (EncodedRecipient) LookupByIndex(idx int64) (datamodel.Node, error)

func (EncodedRecipient) LookupByNode

func (n EncodedRecipient) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (EncodedRecipient) LookupBySegment

func (n EncodedRecipient) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (EncodedRecipient) LookupByString

func (n EncodedRecipient) LookupByString(key string) (datamodel.Node, error)

func (EncodedRecipient) MapIterator

func (n EncodedRecipient) MapIterator() datamodel.MapIterator

func (EncodedRecipient) Prototype

func (EncodedRecipient) Representation

func (n EncodedRecipient) Representation() datamodel.Node

func (EncodedRecipient) Type

func (EncodedRecipient) Type() schema.Type

type EncodedRecipients

type EncodedRecipients = *_EncodedRecipients

EncodedRecipients matches the IPLD Schema type "EncodedRecipients". It has list kind.

func (EncodedRecipients) AsBool

func (EncodedRecipients) AsBool() (bool, error)

func (EncodedRecipients) AsBytes

func (EncodedRecipients) AsBytes() ([]byte, error)

func (EncodedRecipients) AsFloat

func (EncodedRecipients) AsFloat() (float64, error)

func (EncodedRecipients) AsInt

func (EncodedRecipients) AsInt() (int64, error)
func (EncodedRecipients) AsLink() (datamodel.Link, error)

func (EncodedRecipients) AsString

func (EncodedRecipients) AsString() (string, error)

func (EncodedRecipients) IsAbsent

func (EncodedRecipients) IsAbsent() bool

func (EncodedRecipients) IsNull

func (EncodedRecipients) IsNull() bool

func (EncodedRecipients) Iterator

func (EncodedRecipients) Kind

func (EncodedRecipients) Length

func (n EncodedRecipients) Length() int64

func (EncodedRecipients) ListIterator

func (n EncodedRecipients) ListIterator() datamodel.ListIterator

func (EncodedRecipients) LookupByIndex

func (n EncodedRecipients) LookupByIndex(idx int64) (datamodel.Node, error)

func (EncodedRecipients) LookupByNode

func (n EncodedRecipients) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (EncodedRecipients) LookupBySegment

func (n EncodedRecipients) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (EncodedRecipients) LookupByString

func (EncodedRecipients) LookupByString(string) (datamodel.Node, error)

func (EncodedRecipients) MapIterator

func (EncodedRecipients) MapIterator() datamodel.MapIterator

func (EncodedRecipients) Prototype

func (EncodedRecipients) Representation

func (n EncodedRecipients) Representation() datamodel.Node

func (EncodedRecipients) Type

func (EncodedRecipients) Type() schema.Type

type EncodedRecipients__Itr

type EncodedRecipients__Itr struct {
	// contains filtered or unexported fields
}

func (*EncodedRecipients__Itr) Done

func (itr *EncodedRecipients__Itr) Done() bool

func (*EncodedRecipients__Itr) Next

func (itr *EncodedRecipients__Itr) Next() (idx int64, v EncodedRecipient)

type EncodedSignature

type EncodedSignature = *_EncodedSignature

EncodedSignature matches the IPLD Schema type "EncodedSignature". It has struct type-kind, and may be interrogated like map kind.

func (EncodedSignature) AsBool

func (EncodedSignature) AsBool() (bool, error)

func (EncodedSignature) AsBytes

func (EncodedSignature) AsBytes() ([]byte, error)

func (EncodedSignature) AsFloat

func (EncodedSignature) AsFloat() (float64, error)

func (EncodedSignature) AsInt

func (EncodedSignature) AsInt() (int64, error)
func (EncodedSignature) AsLink() (datamodel.Link, error)

func (EncodedSignature) AsString

func (EncodedSignature) AsString() (string, error)

func (EncodedSignature) IsAbsent

func (EncodedSignature) IsAbsent() bool

func (EncodedSignature) IsNull

func (EncodedSignature) IsNull() bool

func (EncodedSignature) Kind

func (EncodedSignature) Length

func (EncodedSignature) Length() int64

func (EncodedSignature) ListIterator

func (EncodedSignature) ListIterator() datamodel.ListIterator

func (EncodedSignature) LookupByIndex

func (EncodedSignature) LookupByIndex(idx int64) (datamodel.Node, error)

func (EncodedSignature) LookupByNode

func (n EncodedSignature) LookupByNode(key datamodel.Node) (datamodel.Node, error)

func (EncodedSignature) LookupBySegment

func (n EncodedSignature) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (EncodedSignature) LookupByString

func (n EncodedSignature) LookupByString(key string) (datamodel.Node, error)

func (EncodedSignature) MapIterator

func (n EncodedSignature) MapIterator() datamodel.MapIterator

func (EncodedSignature) Prototype

func (EncodedSignature) Representation

func (n EncodedSignature) Representation() datamodel.Node

func (EncodedSignature) Type

func (EncodedSignature) Type() schema.Type

type EncodedSignatures

type EncodedSignatures = *_EncodedSignatures

EncodedSignatures matches the IPLD Schema type "EncodedSignatures". It has list kind.

func (EncodedSignatures) AsBool

func (EncodedSignatures) AsBool() (bool, error)

func (EncodedSignatures) AsBytes

func (EncodedSignatures) AsBytes() ([]byte, error)

func (EncodedSignatures) AsFloat

func (EncodedSignatures) AsFloat() (float64, error)

func (EncodedSignatures) AsInt

func (EncodedSignatures) AsInt() (int64, error)
func (EncodedSignatures) AsLink() (datamodel.Link, error)

func (EncodedSignatures) AsString

func (EncodedSignatures) AsString() (string, error)

func (EncodedSignatures) IsAbsent

func (EncodedSignatures) IsAbsent() bool

func (EncodedSignatures) IsNull

func (EncodedSignatures) IsNull() bool

func (EncodedSignatures) Iterator

func (EncodedSignatures) Kind

func (EncodedSignatures) Length

func (n EncodedSignatures) Length() int64

func (EncodedSignatures) ListIterator

func (n EncodedSignatures) ListIterator() datamodel.ListIterator

func (EncodedSignatures) LookupByIndex

func (n EncodedSignatures) LookupByIndex(idx int64) (datamodel.Node, error)

func (EncodedSignatures) LookupByNode

func (n EncodedSignatures) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (EncodedSignatures) LookupBySegment

func (n EncodedSignatures) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (EncodedSignatures) LookupByString

func (EncodedSignatures) LookupByString(string) (datamodel.Node, error)

func (EncodedSignatures) MapIterator

func (EncodedSignatures) MapIterator() datamodel.MapIterator

func (EncodedSignatures) Prototype

func (EncodedSignatures) Representation

func (n EncodedSignatures) Representation() datamodel.Node

func (EncodedSignatures) Type

func (EncodedSignatures) Type() schema.Type

type EncodedSignatures__Itr

type EncodedSignatures__Itr struct {
	// contains filtered or unexported fields
}

func (*EncodedSignatures__Itr) Done

func (itr *EncodedSignatures__Itr) Done() bool

func (*EncodedSignatures__Itr) Next

func (itr *EncodedSignatures__Itr) Next() (idx int64, v EncodedSignature)

type Float

type Float = *_Float

Float matches the IPLD Schema type "Float". It has float kind.

func (Float) AsBool

func (Float) AsBool() (bool, error)

func (Float) AsBytes

func (Float) AsBytes() ([]byte, error)

func (Float) AsFloat

func (n Float) AsFloat() (float64, error)

func (Float) AsInt

func (Float) AsInt() (int64, error)
func (Float) AsLink() (datamodel.Link, error)

func (Float) AsString

func (Float) AsString() (string, error)

func (Float) Float

func (n Float) Float() float64

func (Float) IsAbsent

func (Float) IsAbsent() bool

func (Float) IsNull

func (Float) IsNull() bool

func (Float) Kind

func (Float) Kind() datamodel.Kind

func (Float) Length

func (Float) Length() int64

func (Float) ListIterator

func (Float) ListIterator() datamodel.ListIterator

func (Float) LookupByIndex

func (Float) LookupByIndex(idx int64) (datamodel.Node, error)

func (Float) LookupByNode

func (Float) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Float) LookupBySegment

func (Float) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Float) LookupByString

func (Float) LookupByString(string) (datamodel.Node, error)

func (Float) MapIterator

func (Float) MapIterator() datamodel.MapIterator

func (Float) Prototype

func (Float) Prototype() datamodel.NodePrototype

func (Float) Representation

func (n Float) Representation() datamodel.Node

func (Float) Type

func (Float) Type() schema.Type

type Int

type Int = *_Int

Int matches the IPLD Schema type "Int". It has int kind.

func (Int) AsBool

func (Int) AsBool() (bool, error)

func (Int) AsBytes

func (Int) AsBytes() ([]byte, error)

func (Int) AsFloat

func (Int) AsFloat() (float64, error)

func (Int) AsInt

func (n Int) AsInt() (int64, error)
func (Int) AsLink() (datamodel.Link, error)

func (Int) AsString

func (Int) AsString() (string, error)

func (Int) Int

func (n Int) Int() int64

func (Int) IsAbsent

func (Int) IsAbsent() bool

func (Int) IsNull

func (Int) IsNull() bool

func (Int) Kind

func (Int) Kind() datamodel.Kind

func (Int) Length

func (Int) Length() int64

func (Int) ListIterator

func (Int) ListIterator() datamodel.ListIterator

func (Int) LookupByIndex

func (Int) LookupByIndex(idx int64) (datamodel.Node, error)

func (Int) LookupByNode

func (Int) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Int) LookupBySegment

func (Int) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Int) LookupByString

func (Int) LookupByString(string) (datamodel.Node, error)

func (Int) MapIterator

func (Int) MapIterator() datamodel.MapIterator

func (Int) Prototype

func (Int) Prototype() datamodel.NodePrototype

func (Int) Representation

func (n Int) Representation() datamodel.Node

func (Int) Type

func (Int) Type() schema.Type
type Link = *_Link

Link matches the IPLD Schema type "Link". It has link kind.

func (Link) AsBool

func (Link) AsBool() (bool, error)

func (Link) AsBytes

func (Link) AsBytes() ([]byte, error)

func (Link) AsFloat

func (Link) AsFloat() (float64, error)

func (Link) AsInt

func (Link) AsInt() (int64, error)
func (n Link) AsLink() (datamodel.Link, error)

func (Link) AsString

func (Link) AsString() (string, error)

func (Link) IsAbsent

func (Link) IsAbsent() bool

func (Link) IsNull

func (Link) IsNull() bool

func (Link) Kind

func (Link) Kind() datamodel.Kind

func (Link) Length

func (Link) Length() int64
func (n Link) Link() datamodel.Link

func (Link) ListIterator

func (Link) ListIterator() datamodel.ListIterator

func (Link) LookupByIndex

func (Link) LookupByIndex(idx int64) (datamodel.Node, error)

func (Link) LookupByNode

func (Link) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Link) LookupBySegment

func (Link) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Link) LookupByString

func (Link) LookupByString(string) (datamodel.Node, error)

func (Link) MapIterator

func (Link) MapIterator() datamodel.MapIterator

func (Link) Prototype

func (Link) Prototype() datamodel.NodePrototype

func (Link) Representation

func (n Link) Representation() datamodel.Node

func (Link) Type

func (Link) Type() schema.Type

type List

type List = *_List

List matches the IPLD Schema type "List". It has list kind.

func (List) AsBool

func (List) AsBool() (bool, error)

func (List) AsBytes

func (List) AsBytes() ([]byte, error)

func (List) AsFloat

func (List) AsFloat() (float64, error)

func (List) AsInt

func (List) AsInt() (int64, error)
func (List) AsLink() (datamodel.Link, error)

func (List) AsString

func (List) AsString() (string, error)

func (List) IsAbsent

func (List) IsAbsent() bool

func (List) IsNull

func (List) IsNull() bool

func (List) Iterator

func (n List) Iterator() *List__Itr

func (List) Kind

func (List) Kind() datamodel.Kind

func (List) Length

func (n List) Length() int64

func (List) ListIterator

func (n List) ListIterator() datamodel.ListIterator

func (List) LookupByIndex

func (n List) LookupByIndex(idx int64) (datamodel.Node, error)

func (List) LookupByNode

func (n List) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (List) LookupBySegment

func (n List) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (List) LookupByString

func (List) LookupByString(string) (datamodel.Node, error)

func (List) MapIterator

func (List) MapIterator() datamodel.MapIterator

func (List) Prototype

func (List) Prototype() datamodel.NodePrototype

func (List) Representation

func (n List) Representation() datamodel.Node

func (List) Type

func (List) Type() schema.Type

type List__Itr

type List__Itr struct {
	// contains filtered or unexported fields
}

func (*List__Itr) Done

func (itr *List__Itr) Done() bool

func (*List__Itr) Next

func (itr *List__Itr) Next() (idx int64, v Any)

type Map

type Map = *_Map

Map matches the IPLD Schema type "Map". It has map kind.

func (Map) AsBool

func (Map) AsBool() (bool, error)

func (Map) AsBytes

func (Map) AsBytes() ([]byte, error)

func (Map) AsFloat

func (Map) AsFloat() (float64, error)

func (Map) AsInt

func (Map) AsInt() (int64, error)
func (Map) AsLink() (datamodel.Link, error)

func (Map) AsString

func (Map) AsString() (string, error)

func (Map) IsAbsent

func (Map) IsAbsent() bool

func (Map) IsNull

func (Map) IsNull() bool

func (Map) Iterator

func (n Map) Iterator() *Map__Itr

func (Map) Kind

func (Map) Kind() datamodel.Kind

func (Map) Length

func (n Map) Length() int64

func (Map) ListIterator

func (Map) ListIterator() datamodel.ListIterator

func (Map) LookupByIndex

func (Map) LookupByIndex(idx int64) (datamodel.Node, error)

func (Map) LookupByNode

func (n Map) LookupByNode(k datamodel.Node) (datamodel.Node, error)

func (Map) LookupBySegment

func (n Map) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Map) LookupByString

func (n Map) LookupByString(k string) (datamodel.Node, error)

func (Map) MapIterator

func (n Map) MapIterator() datamodel.MapIterator

func (Map) Prototype

func (Map) Prototype() datamodel.NodePrototype

func (Map) Representation

func (n Map) Representation() datamodel.Node

func (Map) Type

func (Map) Type() schema.Type

type Map__Itr

type Map__Itr struct {
	// contains filtered or unexported fields
}

func (*Map__Itr) Done

func (itr *Map__Itr) Done() bool

func (*Map__Itr) Next

func (itr *Map__Itr) Next() (k String, v Any)

type MaybeAny

type MaybeAny = *_Any__Maybe

func (MaybeAny) AsNode

func (m MaybeAny) AsNode() datamodel.Node

func (MaybeAny) Exists

func (m MaybeAny) Exists() bool

func (MaybeAny) IsAbsent

func (m MaybeAny) IsAbsent() bool

func (MaybeAny) IsNull

func (m MaybeAny) IsNull() bool

func (MaybeAny) Must

func (m MaybeAny) Must() Any

type MaybeBase64Url

type MaybeBase64Url = *_Base64Url__Maybe

func (MaybeBase64Url) AsNode

func (m MaybeBase64Url) AsNode() datamodel.Node

func (MaybeBase64Url) Exists

func (m MaybeBase64Url) Exists() bool

func (MaybeBase64Url) IsAbsent

func (m MaybeBase64Url) IsAbsent() bool

func (MaybeBase64Url) IsNull

func (m MaybeBase64Url) IsNull() bool

func (MaybeBase64Url) Must

func (m MaybeBase64Url) Must() Base64Url

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 MaybeDecodedJWE

type MaybeDecodedJWE = *_DecodedJWE__Maybe

func (MaybeDecodedJWE) AsNode

func (m MaybeDecodedJWE) AsNode() datamodel.Node

func (MaybeDecodedJWE) Exists

func (m MaybeDecodedJWE) Exists() bool

func (MaybeDecodedJWE) IsAbsent

func (m MaybeDecodedJWE) IsAbsent() bool

func (MaybeDecodedJWE) IsNull

func (m MaybeDecodedJWE) IsNull() bool

func (MaybeDecodedJWE) Must

func (m MaybeDecodedJWE) Must() DecodedJWE

type MaybeDecodedJWS

type MaybeDecodedJWS = *_DecodedJWS__Maybe

func (MaybeDecodedJWS) AsNode

func (m MaybeDecodedJWS) AsNode() datamodel.Node

func (MaybeDecodedJWS) Exists

func (m MaybeDecodedJWS) Exists() bool

func (MaybeDecodedJWS) IsAbsent

func (m MaybeDecodedJWS) IsAbsent() bool

func (MaybeDecodedJWS) IsNull

func (m MaybeDecodedJWS) IsNull() bool

func (MaybeDecodedJWS) Must

func (m MaybeDecodedJWS) Must() DecodedJWS

type MaybeDecodedRecipient

type MaybeDecodedRecipient = *_DecodedRecipient__Maybe

func (MaybeDecodedRecipient) AsNode

func (MaybeDecodedRecipient) Exists

func (m MaybeDecodedRecipient) Exists() bool

func (MaybeDecodedRecipient) IsAbsent

func (m MaybeDecodedRecipient) IsAbsent() bool

func (MaybeDecodedRecipient) IsNull

func (m MaybeDecodedRecipient) IsNull() bool

func (MaybeDecodedRecipient) Must

type MaybeDecodedRecipients

type MaybeDecodedRecipients = *_DecodedRecipients__Maybe

func (MaybeDecodedRecipients) AsNode

func (MaybeDecodedRecipients) Exists

func (m MaybeDecodedRecipients) Exists() bool

func (MaybeDecodedRecipients) IsAbsent

func (m MaybeDecodedRecipients) IsAbsent() bool

func (MaybeDecodedRecipients) IsNull

func (m MaybeDecodedRecipients) IsNull() bool

func (MaybeDecodedRecipients) Must

type MaybeDecodedSignature

type MaybeDecodedSignature = *_DecodedSignature__Maybe

func (MaybeDecodedSignature) AsNode

func (MaybeDecodedSignature) Exists

func (m MaybeDecodedSignature) Exists() bool

func (MaybeDecodedSignature) IsAbsent

func (m MaybeDecodedSignature) IsAbsent() bool

func (MaybeDecodedSignature) IsNull

func (m MaybeDecodedSignature) IsNull() bool

func (MaybeDecodedSignature) Must

type MaybeDecodedSignatures

type MaybeDecodedSignatures = *_DecodedSignatures__Maybe

func (MaybeDecodedSignatures) AsNode

func (MaybeDecodedSignatures) Exists

func (m MaybeDecodedSignatures) Exists() bool

func (MaybeDecodedSignatures) IsAbsent

func (m MaybeDecodedSignatures) IsAbsent() bool

func (MaybeDecodedSignatures) IsNull

func (m MaybeDecodedSignatures) IsNull() bool

func (MaybeDecodedSignatures) Must

type MaybeEncodedJWE

type MaybeEncodedJWE = *_EncodedJWE__Maybe

func (MaybeEncodedJWE) AsNode

func (m MaybeEncodedJWE) AsNode() datamodel.Node

func (MaybeEncodedJWE) Exists

func (m MaybeEncodedJWE) Exists() bool

func (MaybeEncodedJWE) IsAbsent

func (m MaybeEncodedJWE) IsAbsent() bool

func (MaybeEncodedJWE) IsNull

func (m MaybeEncodedJWE) IsNull() bool

func (MaybeEncodedJWE) Must

func (m MaybeEncodedJWE) Must() EncodedJWE

type MaybeEncodedJWS

type MaybeEncodedJWS = *_EncodedJWS__Maybe

func (MaybeEncodedJWS) AsNode

func (m MaybeEncodedJWS) AsNode() datamodel.Node

func (MaybeEncodedJWS) Exists

func (m MaybeEncodedJWS) Exists() bool

func (MaybeEncodedJWS) IsAbsent

func (m MaybeEncodedJWS) IsAbsent() bool

func (MaybeEncodedJWS) IsNull

func (m MaybeEncodedJWS) IsNull() bool

func (MaybeEncodedJWS) Must

func (m MaybeEncodedJWS) Must() EncodedJWS

type MaybeEncodedRecipient

type MaybeEncodedRecipient = *_EncodedRecipient__Maybe

func (MaybeEncodedRecipient) AsNode

func (MaybeEncodedRecipient) Exists

func (m MaybeEncodedRecipient) Exists() bool

func (MaybeEncodedRecipient) IsAbsent

func (m MaybeEncodedRecipient) IsAbsent() bool

func (MaybeEncodedRecipient) IsNull

func (m MaybeEncodedRecipient) IsNull() bool

func (MaybeEncodedRecipient) Must

type MaybeEncodedRecipients

type MaybeEncodedRecipients = *_EncodedRecipients__Maybe

func (MaybeEncodedRecipients) AsNode

func (MaybeEncodedRecipients) Exists

func (m MaybeEncodedRecipients) Exists() bool

func (MaybeEncodedRecipients) IsAbsent

func (m MaybeEncodedRecipients) IsAbsent() bool

func (MaybeEncodedRecipients) IsNull

func (m MaybeEncodedRecipients) IsNull() bool

func (MaybeEncodedRecipients) Must

type MaybeEncodedSignature

type MaybeEncodedSignature = *_EncodedSignature__Maybe

func (MaybeEncodedSignature) AsNode

func (MaybeEncodedSignature) Exists

func (m MaybeEncodedSignature) Exists() bool

func (MaybeEncodedSignature) IsAbsent

func (m MaybeEncodedSignature) IsAbsent() bool

func (MaybeEncodedSignature) IsNull

func (m MaybeEncodedSignature) IsNull() bool

func (MaybeEncodedSignature) Must

type MaybeEncodedSignatures

type MaybeEncodedSignatures = *_EncodedSignatures__Maybe

func (MaybeEncodedSignatures) AsNode

func (MaybeEncodedSignatures) Exists

func (m MaybeEncodedSignatures) Exists() bool

func (MaybeEncodedSignatures) IsAbsent

func (m MaybeEncodedSignatures) IsAbsent() bool

func (MaybeEncodedSignatures) IsNull

func (m MaybeEncodedSignatures) IsNull() bool

func (MaybeEncodedSignatures) Must

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 MaybeInt

type MaybeInt = *_Int__Maybe

func (MaybeInt) AsNode

func (m MaybeInt) AsNode() datamodel.Node

func (MaybeInt) Exists

func (m MaybeInt) Exists() bool

func (MaybeInt) IsAbsent

func (m MaybeInt) IsAbsent() bool

func (MaybeInt) IsNull

func (m MaybeInt) IsNull() bool

func (MaybeInt) Must

func (m MaybeInt) Must() Int
type MaybeLink = *_Link__Maybe

func (MaybeLink) AsNode

func (m MaybeLink) AsNode() datamodel.Node

func (MaybeLink) Exists

func (m MaybeLink) Exists() bool

func (MaybeLink) IsAbsent

func (m MaybeLink) IsAbsent() bool

func (MaybeLink) IsNull

func (m MaybeLink) IsNull() bool

func (MaybeLink) Must

func (m MaybeLink) Must() Link

type MaybeList

type MaybeList = *_List__Maybe

func (MaybeList) AsNode

func (m MaybeList) AsNode() datamodel.Node

func (MaybeList) Exists

func (m MaybeList) Exists() bool

func (MaybeList) IsAbsent

func (m MaybeList) IsAbsent() bool

func (MaybeList) IsNull

func (m MaybeList) IsNull() bool

func (MaybeList) Must

func (m MaybeList) Must() List

type MaybeMap

type MaybeMap = *_Map__Maybe

func (MaybeMap) AsNode

func (m MaybeMap) AsNode() datamodel.Node

func (MaybeMap) Exists

func (m MaybeMap) Exists() bool

func (MaybeMap) IsAbsent

func (m MaybeMap) IsAbsent() bool

func (MaybeMap) IsNull

func (m MaybeMap) IsNull() bool

func (MaybeMap) Must

func (m MaybeMap) Must() Map

type MaybeRaw

type MaybeRaw = *_Raw__Maybe

func (MaybeRaw) AsNode

func (m MaybeRaw) AsNode() datamodel.Node

func (MaybeRaw) Exists

func (m MaybeRaw) Exists() bool

func (MaybeRaw) IsAbsent

func (m MaybeRaw) IsAbsent() bool

func (MaybeRaw) IsNull

func (m MaybeRaw) IsNull() bool

func (MaybeRaw) Must

func (m MaybeRaw) Must() Raw

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 Raw

type Raw = *_Raw

Raw matches the IPLD Schema type "Raw". It has bytes kind.

func (Raw) AsBool

func (Raw) AsBool() (bool, error)

func (Raw) AsBytes

func (n Raw) AsBytes() ([]byte, error)

func (Raw) AsFloat

func (Raw) AsFloat() (float64, error)

func (Raw) AsInt

func (Raw) AsInt() (int64, error)
func (Raw) AsLink() (datamodel.Link, error)

func (Raw) AsString

func (n Raw) AsString() (string, error)

func (Raw) IsAbsent

func (Raw) IsAbsent() bool

func (Raw) IsNull

func (Raw) IsNull() bool

func (Raw) Kind

func (Raw) Kind() datamodel.Kind

func (Raw) Length

func (Raw) Length() int64

func (Raw) ListIterator

func (Raw) ListIterator() datamodel.ListIterator

func (Raw) LookupByIndex

func (Raw) LookupByIndex(idx int64) (datamodel.Node, error)

func (Raw) LookupByNode

func (Raw) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (Raw) LookupBySegment

func (Raw) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (Raw) LookupByString

func (Raw) LookupByString(string) (datamodel.Node, error)

func (Raw) MapIterator

func (Raw) MapIterator() datamodel.MapIterator

func (Raw) Prototype

func (Raw) Prototype() datamodel.NodePrototype

func (Raw) Representation

func (n Raw) Representation() datamodel.Node

func (Raw) Type

func (Raw) Type() schema.Type

type String

type String = *_String

String matches the IPLD Schema type "String". It has string kind.

func (String) AsBool

func (String) AsBool() (bool, error)

func (String) AsBytes

func (String) AsBytes() ([]byte, error)

func (String) AsFloat

func (String) AsFloat() (float64, error)

func (String) AsInt

func (String) AsInt() (int64, error)
func (String) AsLink() (datamodel.Link, error)

func (String) AsString

func (n String) AsString() (string, error)

func (String) IsAbsent

func (String) IsAbsent() bool

func (String) IsNull

func (String) IsNull() bool

func (String) Kind

func (String) Kind() datamodel.Kind

func (String) Length

func (String) Length() int64

func (String) ListIterator

func (String) ListIterator() datamodel.ListIterator

func (String) LookupByIndex

func (String) LookupByIndex(idx int64) (datamodel.Node, error)

func (String) LookupByNode

func (String) LookupByNode(datamodel.Node) (datamodel.Node, error)

func (String) LookupBySegment

func (String) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)

func (String) LookupByString

func (String) LookupByString(string) (datamodel.Node, error)

func (String) MapIterator

func (String) MapIterator() datamodel.MapIterator

func (String) Prototype

func (String) Prototype() datamodel.NodePrototype

func (String) Representation

func (n String) Representation() datamodel.Node

func (String) String

func (n String) String() string

func (String) Type

func (String) Type() schema.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL