Documentation ¶
Index ¶
- Variables
- type Int
- func (Int) AsBool() (bool, error)
- func (Int) AsBytes() ([]byte, error)
- func (Int) AsFloat() (float64, error)
- func (n Int) AsInt() (int, error)
- func (Int) AsLink() (ipld.Link, error)
- func (Int) AsString() (string, error)
- func (n Int) Int() int
- func (Int) IsNull() bool
- func (Int) IsUndefined() bool
- func (Int) Length() int
- func (Int) ListIterator() ipld.ListIterator
- func (Int) Lookup(ipld.Node) (ipld.Node, error)
- func (Int) LookupIndex(idx int) (ipld.Node, error)
- func (Int) LookupSegment(seg ipld.PathSegment) (ipld.Node, error)
- func (Int) LookupString(string) (ipld.Node, error)
- func (Int) MapIterator() ipld.MapIterator
- func (Int) ReprKind() ipld.ReprKind
- func (n Int) Representation() ipld.Node
- func (Int) Style() ipld.NodeStyle
- 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() (int, error)
- func (Map__String__Msg3) AsLink() (ipld.Link, error)
- func (Map__String__Msg3) AsString() (string, error)
- func (Map__String__Msg3) IsNull() bool
- func (Map__String__Msg3) IsUndefined() bool
- func (n Map__String__Msg3) Length() int
- func (Map__String__Msg3) ListIterator() ipld.ListIterator
- func (n Map__String__Msg3) Lookup(k ipld.Node) (ipld.Node, error)
- func (Map__String__Msg3) LookupIndex(idx int) (ipld.Node, error)
- func (n Map__String__Msg3) LookupSegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Map__String__Msg3) LookupString(k string) (ipld.Node, error)
- func (n Map__String__Msg3) MapIterator() ipld.MapIterator
- func (Map__String__Msg3) ReprKind() ipld.ReprKind
- func (n Map__String__Msg3) Representation() ipld.Node
- func (Map__String__Msg3) Style() ipld.NodeStyle
- func (Map__String__Msg3) Type() schema.Type
- 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() (int, error)
- func (Msg3) AsLink() (ipld.Link, error)
- func (Msg3) AsString() (string, error)
- func (Msg3) IsNull() bool
- func (Msg3) IsUndefined() bool
- func (Msg3) Length() int
- func (Msg3) ListIterator() ipld.ListIterator
- func (n Msg3) Lookup(key ipld.Node) (ipld.Node, error)
- func (Msg3) LookupIndex(idx int) (ipld.Node, error)
- func (n Msg3) LookupSegment(seg ipld.PathSegment) (ipld.Node, error)
- func (n Msg3) LookupString(key string) (ipld.Node, error)
- func (n Msg3) MapIterator() ipld.MapIterator
- func (Msg3) ReprKind() ipld.ReprKind
- func (n Msg3) Representation() ipld.Node
- func (Msg3) Style() ipld.NodeStyle
- 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() (int, error)
- func (String) AsLink() (ipld.Link, error)
- func (n String) AsString() (string, error)
- func (String) IsNull() bool
- func (String) IsUndefined() bool
- func (String) Length() int
- func (String) ListIterator() ipld.ListIterator
- func (String) Lookup(ipld.Node) (ipld.Node, error)
- func (String) LookupIndex(idx int) (ipld.Node, error)
- func (String) LookupSegment(seg ipld.PathSegment) (ipld.Node, error)
- func (String) LookupString(string) (ipld.Node, error)
- func (String) MapIterator() ipld.MapIterator
- func (String) ReprKind() ipld.ReprKind
- func (n String) Representation() ipld.Node
- func (n String) String() string
- func (String) Style() ipld.NodeStyle
- func (String) Type() schema.Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Type typeSlab
Type is a struct embeding a NodeStyle/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
func (Int) IsUndefined ¶ added in v0.4.0
func (Int) ListIterator ¶ added in v0.4.0
func (Int) ListIterator() ipld.ListIterator
func (Int) LookupSegment ¶ added in v0.4.0
func (Int) MapIterator ¶ added in v0.4.0
func (Int) MapIterator() ipld.MapIterator
func (Int) Representation ¶ added in v0.4.0
type Map__String__Msg3 ¶ added in v0.4.0
type Map__String__Msg3 = *_Map__String__Msg3
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() (int, 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) IsNull ¶ added in v0.4.0
func (Map__String__Msg3) IsNull() bool
func (Map__String__Msg3) IsUndefined ¶ added in v0.4.0
func (Map__String__Msg3) IsUndefined() bool
func (Map__String__Msg3) Length ¶ added in v0.4.0
func (n Map__String__Msg3) Length() int
func (Map__String__Msg3) ListIterator ¶ added in v0.4.0
func (Map__String__Msg3) ListIterator() ipld.ListIterator
func (Map__String__Msg3) LookupIndex ¶ added in v0.4.0
func (Map__String__Msg3) LookupIndex(idx int) (ipld.Node, error)
func (Map__String__Msg3) LookupSegment ¶ added in v0.4.0
func (n Map__String__Msg3) LookupSegment(seg ipld.PathSegment) (ipld.Node, error)
func (Map__String__Msg3) LookupString ¶ added in v0.4.0
func (n Map__String__Msg3) LookupString(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) ReprKind ¶ added in v0.4.0
func (Map__String__Msg3) ReprKind() ipld.ReprKind
func (Map__String__Msg3) Representation ¶ added in v0.4.0
func (n Map__String__Msg3) Representation() ipld.Node
func (Map__String__Msg3) Style ¶ added in v0.4.0
func (Map__String__Msg3) Style() ipld.NodeStyle
func (Map__String__Msg3) Type ¶ added in v0.4.0
func (Map__String__Msg3) Type() schema.Type
type MaybeInt ¶ added in v0.4.0
type MaybeInt = *_Int__Maybe
func (MaybeInt) IsUndefined ¶ added in v0.4.0
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) IsNull ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) IsNull() bool
func (MaybeMap__String__Msg3) IsUndefined ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) IsUndefined() bool
func (MaybeMap__String__Msg3) Must ¶ added in v0.4.0
func (m MaybeMap__String__Msg3) Must() Map__String__Msg3
type MaybeMsg3 ¶ added in v0.4.0
type MaybeMsg3 = *_Msg3__Maybe
func (MaybeMsg3) IsUndefined ¶ added in v0.4.0
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) IsNull ¶ added in v0.4.0
func (m MaybeString) IsNull() bool
func (MaybeString) IsUndefined ¶ added in v0.4.0
func (m MaybeString) IsUndefined() bool
func (MaybeString) Must ¶ added in v0.4.0
func (m MaybeString) Must() String
type Msg3 ¶ added in v0.4.0
type Msg3 = *_Msg3
func (Msg3) IsUndefined ¶ added in v0.4.0
func (Msg3) ListIterator ¶ added in v0.4.0
func (Msg3) ListIterator() ipld.ListIterator
func (Msg3) LookupSegment ¶ added in v0.4.0
func (Msg3) LookupString ¶ added in v0.4.0
func (Msg3) MapIterator ¶ added in v0.4.0
func (n Msg3) MapIterator() ipld.MapIterator
func (Msg3) Representation ¶ added in v0.4.0
type String ¶ added in v0.4.0
type String = *_String
func (String) IsUndefined ¶ added in v0.4.0
func (String) ListIterator ¶ added in v0.4.0
func (String) ListIterator() ipld.ListIterator
func (String) LookupSegment ¶ added in v0.4.0
func (String) MapIterator ¶ added in v0.4.0
func (String) MapIterator() ipld.MapIterator
func (String) Representation ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.