Documentation ¶
Index ¶
- Variables
- func Decode(na datamodel.NodeAssembler, r io.Reader) error
- func Encode(n datamodel.Node, w io.Writer) error
- func EncodeJWE(n datamodel.Node, w io.Writer) error
- func EncodeJWS(n datamodel.Node, w io.Writer) error
- type Any
- func (Any) AsBool() (bool, error)
- func (Any) AsBytes() ([]byte, error)
- func (Any) AsFloat() (float64, error)
- func (Any) AsInt() (int64, error)
- func (Any) AsLink() (datamodel.Link, error)
- func (Any) AsString() (string, error)
- func (Any) IsAbsent() bool
- func (Any) IsNull() bool
- func (Any) Kind() datamodel.Kind
- func (Any) Length() int64
- func (Any) ListIterator() datamodel.ListIterator
- func (Any) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n Any) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n Any) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n Any) LookupByString(key string) (datamodel.Node, error)
- func (n Any) MapIterator() datamodel.MapIterator
- func (Any) Prototype() datamodel.NodePrototype
- func (n Any) Representation() datamodel.Node
- func (Any) Type() schema.Type
- type Base64Url
- func (Base64Url) AsBool() (bool, error)
- func (n Base64Url) AsBytes() ([]byte, error)
- func (Base64Url) AsFloat() (float64, error)
- func (Base64Url) AsInt() (int64, error)
- func (Base64Url) AsLink() (datamodel.Link, error)
- func (n Base64Url) AsString() (string, error)
- func (Base64Url) IsAbsent() bool
- func (Base64Url) IsNull() bool
- func (Base64Url) Kind() datamodel.Kind
- func (Base64Url) Length() int64
- func (Base64Url) ListIterator() datamodel.ListIterator
- func (Base64Url) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Base64Url) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Base64Url) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Base64Url) LookupByString(string) (datamodel.Node, error)
- func (Base64Url) MapIterator() datamodel.MapIterator
- func (Base64Url) Prototype() datamodel.NodePrototype
- func (n Base64Url) Representation() datamodel.Node
- func (Base64Url) 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 DecodeOptions
- type DecodedJWE
- func (DecodedJWE) AsBool() (bool, error)
- func (DecodedJWE) AsBytes() ([]byte, error)
- func (DecodedJWE) AsFloat() (float64, error)
- func (DecodedJWE) AsInt() (int64, error)
- func (DecodedJWE) AsLink() (datamodel.Link, error)
- func (DecodedJWE) AsString() (string, error)
- func (DecodedJWE) IsAbsent() bool
- func (DecodedJWE) IsNull() bool
- func (DecodedJWE) Kind() datamodel.Kind
- func (DecodedJWE) Length() int64
- func (DecodedJWE) ListIterator() datamodel.ListIterator
- func (DecodedJWE) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n DecodedJWE) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n DecodedJWE) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n DecodedJWE) LookupByString(key string) (datamodel.Node, error)
- func (n DecodedJWE) MapIterator() datamodel.MapIterator
- func (DecodedJWE) Prototype() datamodel.NodePrototype
- func (n DecodedJWE) Representation() datamodel.Node
- func (DecodedJWE) Type() schema.Type
- type DecodedJWS
- func (DecodedJWS) AsBool() (bool, error)
- func (DecodedJWS) AsBytes() ([]byte, error)
- func (DecodedJWS) AsFloat() (float64, error)
- func (DecodedJWS) AsInt() (int64, error)
- func (DecodedJWS) AsLink() (datamodel.Link, error)
- func (DecodedJWS) AsString() (string, error)
- func (DecodedJWS) IsAbsent() bool
- func (DecodedJWS) IsNull() bool
- func (DecodedJWS) Kind() datamodel.Kind
- func (DecodedJWS) Length() int64
- func (DecodedJWS) ListIterator() datamodel.ListIterator
- func (DecodedJWS) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n DecodedJWS) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n DecodedJWS) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n DecodedJWS) LookupByString(key string) (datamodel.Node, error)
- func (n DecodedJWS) MapIterator() datamodel.MapIterator
- func (DecodedJWS) Prototype() datamodel.NodePrototype
- func (n DecodedJWS) Representation() datamodel.Node
- func (DecodedJWS) Type() schema.Type
- type DecodedRecipient
- func (DecodedRecipient) AsBool() (bool, error)
- func (DecodedRecipient) AsBytes() ([]byte, error)
- func (DecodedRecipient) AsFloat() (float64, error)
- func (DecodedRecipient) AsInt() (int64, error)
- func (DecodedRecipient) AsLink() (datamodel.Link, error)
- func (DecodedRecipient) AsString() (string, error)
- func (DecodedRecipient) IsAbsent() bool
- func (DecodedRecipient) IsNull() bool
- func (DecodedRecipient) Kind() datamodel.Kind
- func (DecodedRecipient) Length() int64
- func (DecodedRecipient) ListIterator() datamodel.ListIterator
- func (DecodedRecipient) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n DecodedRecipient) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n DecodedRecipient) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n DecodedRecipient) LookupByString(key string) (datamodel.Node, error)
- func (n DecodedRecipient) MapIterator() datamodel.MapIterator
- func (DecodedRecipient) Prototype() datamodel.NodePrototype
- func (n DecodedRecipient) Representation() datamodel.Node
- func (DecodedRecipient) Type() schema.Type
- type DecodedRecipients
- func (DecodedRecipients) AsBool() (bool, error)
- func (DecodedRecipients) AsBytes() ([]byte, error)
- func (DecodedRecipients) AsFloat() (float64, error)
- func (DecodedRecipients) AsInt() (int64, error)
- func (DecodedRecipients) AsLink() (datamodel.Link, error)
- func (DecodedRecipients) AsString() (string, error)
- func (DecodedRecipients) IsAbsent() bool
- func (DecodedRecipients) IsNull() bool
- func (n DecodedRecipients) Iterator() *DecodedRecipients__Itr
- func (DecodedRecipients) Kind() datamodel.Kind
- func (n DecodedRecipients) Length() int64
- func (n DecodedRecipients) ListIterator() datamodel.ListIterator
- func (n DecodedRecipients) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n DecodedRecipients) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n DecodedRecipients) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (DecodedRecipients) LookupByString(string) (datamodel.Node, error)
- func (DecodedRecipients) MapIterator() datamodel.MapIterator
- func (DecodedRecipients) Prototype() datamodel.NodePrototype
- func (n DecodedRecipients) Representation() datamodel.Node
- func (DecodedRecipients) Type() schema.Type
- type DecodedRecipients__Itr
- type DecodedSignature
- func (DecodedSignature) AsBool() (bool, error)
- func (DecodedSignature) AsBytes() ([]byte, error)
- func (DecodedSignature) AsFloat() (float64, error)
- func (DecodedSignature) AsInt() (int64, error)
- func (DecodedSignature) AsLink() (datamodel.Link, error)
- func (DecodedSignature) AsString() (string, error)
- func (DecodedSignature) IsAbsent() bool
- func (DecodedSignature) IsNull() bool
- func (DecodedSignature) Kind() datamodel.Kind
- func (DecodedSignature) Length() int64
- func (DecodedSignature) ListIterator() datamodel.ListIterator
- func (DecodedSignature) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n DecodedSignature) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n DecodedSignature) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n DecodedSignature) LookupByString(key string) (datamodel.Node, error)
- func (n DecodedSignature) MapIterator() datamodel.MapIterator
- func (DecodedSignature) Prototype() datamodel.NodePrototype
- func (n DecodedSignature) Representation() datamodel.Node
- func (DecodedSignature) Type() schema.Type
- type DecodedSignatures
- func (DecodedSignatures) AsBool() (bool, error)
- func (DecodedSignatures) AsBytes() ([]byte, error)
- func (DecodedSignatures) AsFloat() (float64, error)
- func (DecodedSignatures) AsInt() (int64, error)
- func (DecodedSignatures) AsLink() (datamodel.Link, error)
- func (DecodedSignatures) AsString() (string, error)
- func (DecodedSignatures) IsAbsent() bool
- func (DecodedSignatures) IsNull() bool
- func (n DecodedSignatures) Iterator() *DecodedSignatures__Itr
- func (DecodedSignatures) Kind() datamodel.Kind
- func (n DecodedSignatures) Length() int64
- func (n DecodedSignatures) ListIterator() datamodel.ListIterator
- func (n DecodedSignatures) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n DecodedSignatures) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n DecodedSignatures) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (DecodedSignatures) LookupByString(string) (datamodel.Node, error)
- func (DecodedSignatures) MapIterator() datamodel.MapIterator
- func (DecodedSignatures) Prototype() datamodel.NodePrototype
- func (n DecodedSignatures) Representation() datamodel.Node
- func (DecodedSignatures) Type() schema.Type
- type DecodedSignatures__Itr
- type EncodedJWE
- func (EncodedJWE) AsBool() (bool, error)
- func (EncodedJWE) AsBytes() ([]byte, error)
- func (EncodedJWE) AsFloat() (float64, error)
- func (EncodedJWE) AsInt() (int64, error)
- func (EncodedJWE) AsLink() (datamodel.Link, error)
- func (EncodedJWE) AsString() (string, error)
- func (EncodedJWE) IsAbsent() bool
- func (EncodedJWE) IsNull() bool
- func (EncodedJWE) Kind() datamodel.Kind
- func (EncodedJWE) Length() int64
- func (EncodedJWE) ListIterator() datamodel.ListIterator
- func (EncodedJWE) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n EncodedJWE) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n EncodedJWE) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n EncodedJWE) LookupByString(key string) (datamodel.Node, error)
- func (n EncodedJWE) MapIterator() datamodel.MapIterator
- func (EncodedJWE) Prototype() datamodel.NodePrototype
- func (n EncodedJWE) Representation() datamodel.Node
- func (EncodedJWE) Type() schema.Type
- type EncodedJWS
- func (EncodedJWS) AsBool() (bool, error)
- func (EncodedJWS) AsBytes() ([]byte, error)
- func (EncodedJWS) AsFloat() (float64, error)
- func (EncodedJWS) AsInt() (int64, error)
- func (EncodedJWS) AsLink() (datamodel.Link, error)
- func (EncodedJWS) AsString() (string, error)
- func (EncodedJWS) IsAbsent() bool
- func (EncodedJWS) IsNull() bool
- func (EncodedJWS) Kind() datamodel.Kind
- func (EncodedJWS) Length() int64
- func (EncodedJWS) ListIterator() datamodel.ListIterator
- func (EncodedJWS) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n EncodedJWS) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n EncodedJWS) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n EncodedJWS) LookupByString(key string) (datamodel.Node, error)
- func (n EncodedJWS) MapIterator() datamodel.MapIterator
- func (EncodedJWS) Prototype() datamodel.NodePrototype
- func (n EncodedJWS) Representation() datamodel.Node
- func (EncodedJWS) Type() schema.Type
- type EncodedRecipient
- func (EncodedRecipient) AsBool() (bool, error)
- func (EncodedRecipient) AsBytes() ([]byte, error)
- func (EncodedRecipient) AsFloat() (float64, error)
- func (EncodedRecipient) AsInt() (int64, error)
- func (EncodedRecipient) AsLink() (datamodel.Link, error)
- func (EncodedRecipient) AsString() (string, error)
- func (EncodedRecipient) IsAbsent() bool
- func (EncodedRecipient) IsNull() bool
- func (EncodedRecipient) Kind() datamodel.Kind
- func (EncodedRecipient) Length() int64
- func (EncodedRecipient) ListIterator() datamodel.ListIterator
- func (EncodedRecipient) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n EncodedRecipient) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n EncodedRecipient) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n EncodedRecipient) LookupByString(key string) (datamodel.Node, error)
- func (n EncodedRecipient) MapIterator() datamodel.MapIterator
- func (EncodedRecipient) Prototype() datamodel.NodePrototype
- func (n EncodedRecipient) Representation() datamodel.Node
- func (EncodedRecipient) Type() schema.Type
- type EncodedRecipients
- func (EncodedRecipients) AsBool() (bool, error)
- func (EncodedRecipients) AsBytes() ([]byte, error)
- func (EncodedRecipients) AsFloat() (float64, error)
- func (EncodedRecipients) AsInt() (int64, error)
- func (EncodedRecipients) AsLink() (datamodel.Link, error)
- func (EncodedRecipients) AsString() (string, error)
- func (EncodedRecipients) IsAbsent() bool
- func (EncodedRecipients) IsNull() bool
- func (n EncodedRecipients) Iterator() *EncodedRecipients__Itr
- func (EncodedRecipients) Kind() datamodel.Kind
- func (n EncodedRecipients) Length() int64
- func (n EncodedRecipients) ListIterator() datamodel.ListIterator
- func (n EncodedRecipients) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n EncodedRecipients) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n EncodedRecipients) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (EncodedRecipients) LookupByString(string) (datamodel.Node, error)
- func (EncodedRecipients) MapIterator() datamodel.MapIterator
- func (EncodedRecipients) Prototype() datamodel.NodePrototype
- func (n EncodedRecipients) Representation() datamodel.Node
- func (EncodedRecipients) Type() schema.Type
- type EncodedRecipients__Itr
- type EncodedSignature
- func (EncodedSignature) AsBool() (bool, error)
- func (EncodedSignature) AsBytes() ([]byte, error)
- func (EncodedSignature) AsFloat() (float64, error)
- func (EncodedSignature) AsInt() (int64, error)
- func (EncodedSignature) AsLink() (datamodel.Link, error)
- func (EncodedSignature) AsString() (string, error)
- func (EncodedSignature) IsAbsent() bool
- func (EncodedSignature) IsNull() bool
- func (EncodedSignature) Kind() datamodel.Kind
- func (EncodedSignature) Length() int64
- func (EncodedSignature) ListIterator() datamodel.ListIterator
- func (EncodedSignature) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n EncodedSignature) LookupByNode(key datamodel.Node) (datamodel.Node, error)
- func (n EncodedSignature) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n EncodedSignature) LookupByString(key string) (datamodel.Node, error)
- func (n EncodedSignature) MapIterator() datamodel.MapIterator
- func (EncodedSignature) Prototype() datamodel.NodePrototype
- func (n EncodedSignature) Representation() datamodel.Node
- func (EncodedSignature) Type() schema.Type
- type EncodedSignatures
- func (EncodedSignatures) AsBool() (bool, error)
- func (EncodedSignatures) AsBytes() ([]byte, error)
- func (EncodedSignatures) AsFloat() (float64, error)
- func (EncodedSignatures) AsInt() (int64, error)
- func (EncodedSignatures) AsLink() (datamodel.Link, error)
- func (EncodedSignatures) AsString() (string, error)
- func (EncodedSignatures) IsAbsent() bool
- func (EncodedSignatures) IsNull() bool
- func (n EncodedSignatures) Iterator() *EncodedSignatures__Itr
- func (EncodedSignatures) Kind() datamodel.Kind
- func (n EncodedSignatures) Length() int64
- func (n EncodedSignatures) ListIterator() datamodel.ListIterator
- func (n EncodedSignatures) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n EncodedSignatures) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n EncodedSignatures) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (EncodedSignatures) LookupByString(string) (datamodel.Node, error)
- func (EncodedSignatures) MapIterator() datamodel.MapIterator
- func (EncodedSignatures) Prototype() datamodel.NodePrototype
- func (n EncodedSignatures) Representation() datamodel.Node
- func (EncodedSignatures) Type() schema.Type
- type EncodedSignatures__Itr
- 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 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
- func (List) AsBool() (bool, error)
- func (List) AsBytes() ([]byte, error)
- func (List) AsFloat() (float64, error)
- func (List) AsInt() (int64, error)
- func (List) AsLink() (datamodel.Link, error)
- func (List) AsString() (string, error)
- func (List) IsAbsent() bool
- func (List) IsNull() bool
- func (n List) Iterator() *List__Itr
- func (List) Kind() datamodel.Kind
- func (n List) Length() int64
- func (n List) ListIterator() datamodel.ListIterator
- func (n List) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n List) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n List) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (List) LookupByString(string) (datamodel.Node, error)
- func (List) MapIterator() datamodel.MapIterator
- func (List) Prototype() datamodel.NodePrototype
- func (n List) Representation() datamodel.Node
- func (List) Type() schema.Type
- type List__Itr
- type Map
- func (Map) AsBool() (bool, error)
- func (Map) AsBytes() ([]byte, error)
- func (Map) AsFloat() (float64, error)
- func (Map) AsInt() (int64, error)
- func (Map) AsLink() (datamodel.Link, error)
- func (Map) AsString() (string, error)
- func (Map) IsAbsent() bool
- func (Map) IsNull() bool
- func (n Map) Iterator() *Map__Itr
- func (Map) Kind() datamodel.Kind
- func (n Map) Length() int64
- func (Map) ListIterator() datamodel.ListIterator
- func (Map) LookupByIndex(idx int64) (datamodel.Node, error)
- func (n Map) LookupByNode(k datamodel.Node) (datamodel.Node, error)
- func (n Map) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (n Map) LookupByString(k string) (datamodel.Node, error)
- func (n Map) MapIterator() datamodel.MapIterator
- func (Map) Prototype() datamodel.NodePrototype
- func (n Map) Representation() datamodel.Node
- func (Map) Type() schema.Type
- type Map__Itr
- type MaybeAny
- type MaybeBase64Url
- type MaybeBytes
- type MaybeDecodedJWE
- type MaybeDecodedJWS
- type MaybeDecodedRecipient
- type MaybeDecodedRecipients
- type MaybeDecodedSignature
- type MaybeDecodedSignatures
- type MaybeEncodedJWE
- type MaybeEncodedJWS
- type MaybeEncodedRecipient
- type MaybeEncodedRecipients
- type MaybeEncodedSignature
- type MaybeEncodedSignatures
- type MaybeFloat
- type MaybeInt
- type MaybeLink
- type MaybeList
- type MaybeMap
- type MaybeRaw
- type MaybeString
- type Raw
- func (Raw) AsBool() (bool, error)
- func (n Raw) AsBytes() ([]byte, error)
- func (Raw) AsFloat() (float64, error)
- func (Raw) AsInt() (int64, error)
- func (Raw) AsLink() (datamodel.Link, error)
- func (n Raw) AsString() (string, error)
- func (Raw) IsAbsent() bool
- func (Raw) IsNull() bool
- func (Raw) Kind() datamodel.Kind
- func (Raw) Length() int64
- func (Raw) ListIterator() datamodel.ListIterator
- func (Raw) LookupByIndex(idx int64) (datamodel.Node, error)
- func (Raw) LookupByNode(datamodel.Node) (datamodel.Node, error)
- func (Raw) LookupBySegment(seg datamodel.PathSegment) (datamodel.Node, error)
- func (Raw) LookupByString(string) (datamodel.Node, error)
- func (Raw) MapIterator() datamodel.MapIterator
- func (Raw) Prototype() datamodel.NodePrototype
- func (n Raw) Representation() datamodel.Node
- func (Raw) 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
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:
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.
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) ListIterator ¶
func (Any) ListIterator() datamodel.ListIterator
func (Any) LookupBySegment ¶
func (Any) MapIterator ¶
func (n Any) MapIterator() datamodel.MapIterator
func (Any) Prototype ¶
func (Any) Prototype() datamodel.NodePrototype
func (Any) Representation ¶
type Base64Url ¶
type Base64Url = *_Base64Url
Base64Url matches the IPLD Schema type "Base64Url". It has string kind.
func (Base64Url) ListIterator ¶
func (Base64Url) ListIterator() datamodel.ListIterator
func (Base64Url) LookupByNode ¶
func (Base64Url) LookupBySegment ¶
func (Base64Url) MapIterator ¶
func (Base64Url) MapIterator() datamodel.MapIterator
func (Base64Url) Prototype ¶
func (Base64Url) Prototype() datamodel.NodePrototype
func (Base64Url) 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 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) DecodeJWE(na datamodel.NodeAssembler, r io.Reader) error
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) 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 (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) 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 (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) 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) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) AsString ¶
func (DecodedRecipients) AsString() (string, error)
func (DecodedRecipients) IsAbsent ¶
func (DecodedRecipients) IsAbsent() bool
func (DecodedRecipients) IsNull ¶
func (DecodedRecipients) IsNull() bool
func (DecodedRecipients) Iterator ¶
func (n DecodedRecipients) Iterator() *DecodedRecipients__Itr
func (DecodedRecipients) Kind ¶
func (DecodedRecipients) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) 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) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) AsString ¶
func (DecodedSignatures) AsString() (string, error)
func (DecodedSignatures) IsAbsent ¶
func (DecodedSignatures) IsAbsent() bool
func (DecodedSignatures) IsNull ¶
func (DecodedSignatures) IsNull() bool
func (DecodedSignatures) Iterator ¶
func (n DecodedSignatures) Iterator() *DecodedSignatures__Itr
func (DecodedSignatures) Kind ¶
func (DecodedSignatures) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) 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 (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) 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 (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) 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) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) AsString ¶
func (EncodedRecipients) AsString() (string, error)
func (EncodedRecipients) IsAbsent ¶
func (EncodedRecipients) IsAbsent() bool
func (EncodedRecipients) IsNull ¶
func (EncodedRecipients) IsNull() bool
func (EncodedRecipients) Iterator ¶
func (n EncodedRecipients) Iterator() *EncodedRecipients__Itr
func (EncodedRecipients) Kind ¶
func (EncodedRecipients) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) 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) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) AsString ¶
func (EncodedSignatures) AsString() (string, error)
func (EncodedSignatures) IsAbsent ¶
func (EncodedSignatures) IsAbsent() bool
func (EncodedSignatures) IsNull ¶
func (EncodedSignatures) IsNull() bool
func (EncodedSignatures) Iterator ¶
func (n EncodedSignatures) Iterator() *EncodedSignatures__Itr
func (EncodedSignatures) Kind ¶
func (EncodedSignatures) Kind() datamodel.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 (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) Prototype() datamodel.NodePrototype
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) 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 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 ¶
type List = *_List
List matches the IPLD Schema type "List". It has list kind.
func (List) ListIterator ¶
func (n List) ListIterator() datamodel.ListIterator
func (List) LookupBySegment ¶
func (List) MapIterator ¶
func (List) MapIterator() datamodel.MapIterator
func (List) Prototype ¶
func (List) Prototype() datamodel.NodePrototype
func (List) Representation ¶
type Map ¶
type Map = *_Map
Map matches the IPLD Schema type "Map". It has map kind.
func (Map) ListIterator ¶
func (Map) ListIterator() datamodel.ListIterator
func (Map) LookupBySegment ¶
func (Map) MapIterator ¶
func (n Map) MapIterator() datamodel.MapIterator
func (Map) Prototype ¶
func (Map) Prototype() datamodel.NodePrototype
func (Map) Representation ¶
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 (m MaybeDecodedRecipient) AsNode() datamodel.Node
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 ¶
func (m MaybeDecodedRecipient) Must() DecodedRecipient
type MaybeDecodedRecipients ¶
type MaybeDecodedRecipients = *_DecodedRecipients__Maybe
func (MaybeDecodedRecipients) AsNode ¶
func (m MaybeDecodedRecipients) AsNode() datamodel.Node
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 ¶
func (m MaybeDecodedRecipients) Must() DecodedRecipients
type MaybeDecodedSignature ¶
type MaybeDecodedSignature = *_DecodedSignature__Maybe
func (MaybeDecodedSignature) AsNode ¶
func (m MaybeDecodedSignature) AsNode() datamodel.Node
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 ¶
func (m MaybeDecodedSignature) Must() DecodedSignature
type MaybeDecodedSignatures ¶
type MaybeDecodedSignatures = *_DecodedSignatures__Maybe
func (MaybeDecodedSignatures) AsNode ¶
func (m MaybeDecodedSignatures) AsNode() datamodel.Node
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 ¶
func (m MaybeDecodedSignatures) Must() DecodedSignatures
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 (m MaybeEncodedRecipient) AsNode() datamodel.Node
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 ¶
func (m MaybeEncodedRecipient) Must() EncodedRecipient
type MaybeEncodedRecipients ¶
type MaybeEncodedRecipients = *_EncodedRecipients__Maybe
func (MaybeEncodedRecipients) AsNode ¶
func (m MaybeEncodedRecipients) AsNode() datamodel.Node
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 ¶
func (m MaybeEncodedRecipients) Must() EncodedRecipients
type MaybeEncodedSignature ¶
type MaybeEncodedSignature = *_EncodedSignature__Maybe
func (MaybeEncodedSignature) AsNode ¶
func (m MaybeEncodedSignature) AsNode() datamodel.Node
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 ¶
func (m MaybeEncodedSignature) Must() EncodedSignature
type MaybeEncodedSignatures ¶
type MaybeEncodedSignatures = *_EncodedSignatures__Maybe
func (MaybeEncodedSignatures) AsNode ¶
func (m MaybeEncodedSignatures) AsNode() datamodel.Node
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 ¶
func (m MaybeEncodedSignatures) Must() EncodedSignatures
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 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) ListIterator ¶
func (Raw) ListIterator() datamodel.ListIterator
func (Raw) LookupBySegment ¶
func (Raw) MapIterator ¶
func (Raw) MapIterator() datamodel.MapIterator
func (Raw) Prototype ¶
func (Raw) Prototype() datamodel.NodePrototype
func (Raw) 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