Documentation ¶
Index ¶
- Variables
- func DecodeInto(b []byte, v interface{}) error
- func EncodeObject(obj interface{}) ([]byte, error)
- type Link
- type Node
- func (n Node) Cid() *cid.Cid
- 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() []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 EncodeObject ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (Node) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.