Documentation ¶
Index ¶
- Variables
- func DecodeInto(b []byte, v interface{}) error
- func DumpObject(obj interface{}) ([]byte, error)
- func EncoderFilter(i interface{}) interface{}
- type IpldLinkDecoder
- type Node
- func (n Node) Cid() *cid.Cid
- func (n *Node) Copy() node.Node
- func (n Node) Links() []*node.Link
- func (n Node) Loggable() map[string]interface{}
- func (n Node) MarshalJSON() ([]byte, error)
- func (n Node) RawData() []byte
- func (n Node) Resolve(path []string) (interface{}, []string, error)
- func (n Node) ResolveLink(path []string) (*node.Link, []string, error)
- func (n Node) Size() (uint64, error)
- func (n Node) Stat() (*node.NodeStat, error)
- func (n Node) String() string
- func (n *Node) Tree(path string, depth int) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSuchLink = errors.New("no such link found")
Functions ¶
func DecodeInto ¶
DecodeInto decodes a serialized ipld cbor object into the given object.
func DumpObject ¶ added in v0.5.0
func EncoderFilter ¶ added in v0.5.0
func EncoderFilter(i interface{}) interface{}
Types ¶
type IpldLinkDecoder ¶ added in v0.5.0
type IpldLinkDecoder struct{}
func (*IpldLinkDecoder) DecodeTarget ¶ added in v0.5.0
func (d *IpldLinkDecoder) DecodeTarget() interface{}
func (*IpldLinkDecoder) GetTag ¶ added in v0.5.0
func (d *IpldLinkDecoder) GetTag() uint64
func (*IpldLinkDecoder) PostDecode ¶ added in v0.5.0
func (d *IpldLinkDecoder) PostDecode(i interface{}) (interface{}, error)
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.