Documentation ¶
Index ¶
- Variables
- 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() (ipld.Link, error)
- func (Int) AsString() (string, error)
- func (n Int) Int() int64
- func (Int) IsAbsent() bool
- func (Int) IsNull() bool
- func (Int) Kind() ipld.Kind
- func (Int) Length() int64
- func (Int) ListIterator() ipld.ListIterator
- func (Int) LookupByIndex(idx int64) (ipld.Node, error)
- func (Int) LookupByNode(ipld.Node) (ipld.Node, error)
- func (Int) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Int) LookupByString(string) (ipld.Node, error)
- func (Int) MapIterator() ipld.MapIterator
- func (Int) Prototype() ipld.NodePrototype
- func (n Int) Representation() ipld.Node
- func (Int) Type() schema.Type
- type Map__String__Msg3
- func (Map__String__Msg3) AsBool() (bool, error)
- func (Map__String__Msg3) AsBytes() ([]byte, error)
- func (Map__String__Msg3) AsFloat() (float64, error)
- func (Map__String__Msg3) AsInt() (int64, error)
- func (Map__String__Msg3) AsLink() (ipld.Link, error)
- func (Map__String__Msg3) AsString() (string, error)
- func (Map__String__Msg3) IsAbsent() bool
- func (Map__String__Msg3) IsNull() bool
- func (n Map__String__Msg3) Iterator() *Map__String__Msg3__Itr
- func (Map__String__Msg3) Kind() ipld.Kind
- func (n Map__String__Msg3) Length() int64
- func (Map__String__Msg3) ListIterator() ipld.ListIterator
- func (Map__String__Msg3) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Map__String__Msg3) LookupByNode(k ipld.Node) (ipld.Node, error)
- func (n Map__String__Msg3) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Map__String__Msg3) LookupByString(k string) (ipld.Node, error)
- func (n Map__String__Msg3) MapIterator() ipld.MapIterator
- func (Map__String__Msg3) Prototype() ipld.NodePrototype
- func (n Map__String__Msg3) Representation() ipld.Node
- func (Map__String__Msg3) Type() schema.Type
- type Map__String__Msg3__Itr
- type MaybeInt
- type MaybeMap__String__Msg3
- type MaybeMsg3
- type MaybeString
- type Msg3
- func (Msg3) AsBool() (bool, error)
- func (Msg3) AsBytes() ([]byte, error)
- func (Msg3) AsFloat() (float64, error)
- func (Msg3) AsInt() (int64, error)
- func (Msg3) AsLink() (ipld.Link, error)
- func (Msg3) AsString() (string, error)
- func (Msg3) IsAbsent() bool
- func (Msg3) IsNull() bool
- func (Msg3) Kind() ipld.Kind
- func (Msg3) Length() int64
- func (Msg3) ListIterator() ipld.ListIterator
- func (Msg3) LookupByIndex(idx int64) (ipld.Node, error)
- func (n Msg3) LookupByNode(key ipld.Node) (ipld.Node, error)
- func (n Msg3) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Msg3) LookupByString(key string) (ipld.Node, error)
- func (n Msg3) MapIterator() ipld.MapIterator
- func (Msg3) Prototype() ipld.NodePrototype
- func (n Msg3) Representation() ipld.Node
- func (Msg3) Type() schema.Type
- type String
- func (String) AsBool() (bool, error)
- func (String) AsBytes() ([]byte, error)
- func (String) AsFloat() (float64, error)
- func (String) AsInt() (int64, error)
- func (String) AsLink() (ipld.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsAbsent() bool
- func (String) IsNull() bool
- func (String) Kind() ipld.Kind
- func (String) Length() int64
- func (String) ListIterator() ipld.ListIterator
- func (String) LookupByIndex(idx int64) (ipld.Node, error)
- func (String) LookupByNode(ipld.Node) (ipld.Node, error)
- func (String) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
- func (String) LookupByString(string) (ipld.Node, error)
- func (String) MapIterator() ipld.MapIterator
- func (String) Prototype() ipld.NodePrototype
- func (n String) Representation() ipld.Node
- func (n String) String() string
- func (String) Type() schema.Type
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:
gendemo.Type.YourTypeName.NewBuilder().BeginMap() //...
and:
gendemo.Type.OtherTypeName.NewBuilder().AssignString("x") // ...
Functions ¶
This section is empty.
Types ¶
type Int ¶ added in v0.4.0
type Int = *_Int
Int matches the IPLD Schema type "Int". It has int kind.
func (Int) ListIterator ¶ added in v0.4.0
func (Int) ListIterator() ipld.ListIterator
func (Int) LookupBySegment ¶ added in v0.5.0
func (Int) MapIterator ¶ added in v0.4.0
func (Int) MapIterator() ipld.MapIterator
func (Int) Prototype ¶ added in v0.5.0
func (Int) Prototype() ipld.NodePrototype
func (Int) Representation ¶ added in v0.4.0
type Map__String__Msg3 ¶ added in v0.4.0
type Map__String__Msg3 = *_Map__String__Msg3
Map__String__Msg3 matches the IPLD Schema type "Map__String__Msg3". It has map kind.
func (Map__String__Msg3) AsBool ¶ added in v0.4.0
func (Map__String__Msg3) AsBool() (bool, error)
func (Map__String__Msg3) AsBytes ¶ added in v0.4.0
func (Map__String__Msg3) AsBytes() ([]byte, error)
func (Map__String__Msg3) AsFloat ¶ added in v0.4.0
func (Map__String__Msg3) AsFloat() (float64, error)
func (Map__String__Msg3) AsInt ¶ added in v0.4.0
func (Map__String__Msg3) AsInt() (int64, error)
func (Map__String__Msg3) AsLink ¶ added in v0.4.0
func (Map__String__Msg3) AsLink() (ipld.Link, error)
func (Map__String__Msg3) AsString ¶ added in v0.4.0
func (Map__String__Msg3) AsString() (string, error)
func (Map__String__Msg3) IsAbsent ¶ added in v0.5.0
func (Map__String__Msg3) IsAbsent() bool
func (Map__String__Msg3) IsNull ¶ added in v0.4.0
func (Map__String__Msg3) IsNull() bool
func (Map__String__Msg3) Iterator ¶ added in v0.6.0
func (n Map__String__Msg3) Iterator() *Map__String__Msg3__Itr
func (Map__String__Msg3) Kind ¶ added in v0.7.0
func (Map__String__Msg3) Kind() ipld.Kind
func (Map__String__Msg3) Length ¶ added in v0.4.0
func (n Map__String__Msg3) Length() int64
func (Map__String__Msg3) ListIterator ¶ added in v0.4.0
func (Map__String__Msg3) ListIterator() ipld.ListIterator
func (Map__String__Msg3) LookupByIndex ¶ added in v0.5.0
func (Map__String__Msg3) LookupByIndex(idx int64) (ipld.Node, error)
func (Map__String__Msg3) LookupByNode ¶ added in v0.5.0
func (Map__String__Msg3) LookupBySegment ¶ added in v0.5.0
func (n Map__String__Msg3) LookupBySegment(seg ipld.PathSegment) (ipld.Node, error)
func (Map__String__Msg3) LookupByString ¶ added in v0.5.0
func (n Map__String__Msg3) LookupByString(k string) (ipld.Node, error)
func (Map__String__Msg3) MapIterator ¶ added in v0.4.0
func (n Map__String__Msg3) MapIterator() ipld.MapIterator
func (Map__String__Msg3) Prototype ¶ added in v0.5.0
func (Map__String__Msg3) Prototype() ipld.NodePrototype
func (Map__String__Msg3) Representation ¶ added in v0.4.0
func (n Map__String__Msg3) Representation() ipld.Node
func (Map__String__Msg3) Type ¶ added in v0.4.0
func (Map__String__Msg3) Type() schema.Type
type Map__String__Msg3__Itr ¶ added in v0.6.0
type Map__String__Msg3__Itr struct {
// contains filtered or unexported fields
}
func (*Map__String__Msg3__Itr) Done ¶ added in v0.6.0
func (itr *Map__String__Msg3__Itr) Done() bool
func (*Map__String__Msg3__Itr) Next ¶ added in v0.6.0
func (itr *Map__String__Msg3__Itr) Next() (k String, v Msg3)
type MaybeMap__String__Msg3 ¶ added in v0.4.0
type MaybeMap__String__Msg3 = *_Map__String__Msg3__Maybe
func (MaybeMap__String__Msg3) AsNode ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) AsNode() ipld.Node
func (MaybeMap__String__Msg3) Exists ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) Exists() bool
func (MaybeMap__String__Msg3) IsAbsent ¶ added in v0.5.0
func (m MaybeMap__String__Msg3) IsAbsent() bool
func (MaybeMap__String__Msg3) IsNull ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) IsNull() bool
func (MaybeMap__String__Msg3) Must ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) Must() Map__String__Msg3
type MaybeString ¶ added in v0.4.0
type MaybeString = *_String__Maybe
func (MaybeString) AsNode ¶ added in v0.4.0
func (m MaybeString) AsNode() ipld.Node
func (MaybeString) Exists ¶ added in v0.4.0
func (m MaybeString) Exists() bool
func (MaybeString) IsAbsent ¶ added in v0.5.0
func (m MaybeString) IsAbsent() bool
func (MaybeString) IsNull ¶ added in v0.4.0
func (m MaybeString) IsNull() bool
func (MaybeString) Must ¶ added in v0.4.0
func (m MaybeString) Must() String
type Msg3 ¶ added in v0.4.0
type Msg3 = *_Msg3
Msg3 matches the IPLD Schema type "Msg3". It has Struct type-kind, and may be interrogated like map kind.
func (Msg3) ListIterator ¶ added in v0.4.0
func (Msg3) ListIterator() ipld.ListIterator
func (Msg3) LookupByNode ¶ added in v0.5.0
func (Msg3) LookupBySegment ¶ added in v0.5.0
func (Msg3) LookupByString ¶ added in v0.5.0
func (Msg3) MapIterator ¶ added in v0.4.0
func (n Msg3) MapIterator() ipld.MapIterator
func (Msg3) Prototype ¶ added in v0.5.0
func (Msg3) Prototype() ipld.NodePrototype
func (Msg3) Representation ¶ added in v0.4.0
type String ¶ added in v0.4.0
type String = *_String
String matches the IPLD Schema type "String". It has string kind.
func (String) ListIterator ¶ added in v0.4.0
func (String) ListIterator() ipld.ListIterator
func (String) LookupByIndex ¶ added in v0.5.0
func (String) LookupByNode ¶ added in v0.5.0
func (String) LookupBySegment ¶ added in v0.5.0
func (String) LookupByString ¶ added in v0.5.0
func (String) MapIterator ¶ added in v0.4.0
func (String) MapIterator() ipld.MapIterator
func (String) Prototype ¶ added in v0.5.0
func (String) Prototype() ipld.NodePrototype
func (String) Representation ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.