Commit ac092e5f authored by Steven Allen's avatar Steven Allen

nit: document Node

parent 09a574cf
......@@ -19,6 +19,10 @@ type Resolver interface {
Tree(path string, depth int) []string
}
// Node is the base interface all IPLD nodes must implement.
//
// Nodes are **Immutable** and all methods defined on the interface are
// **Thread Safe**.
type Node interface {
blocks.Block
Resolver
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment