Documentation ¶
Index ¶
- Variables
- type Dag
- type Service
- func (e *Service) Anchor(ctx context.Context) (a *Ref, ok bool)
- func (e *Service) AppendBytes(ctx context.Context, b []byte) (n *ProtoNode, depth uint64, ok bool)
- func (e *Service) AppendTxt(ctx context.Context, str string) (n *ProtoNode, depth uint64, ok bool)
- func (e *Service) StoreBytes(ctx context.Context, b []byte) (n *ProtoNode, ok bool)
- func (e *Service) StoreString(ctx context.Context, str string) (n *ProtoNode, ok bool)
- type TraverseFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var DagSize = 20
Max Depth of Accumulator
Functions ¶
This section is empty.
Types ¶
type Service ¶
finite FiniteService
func (*Service) AppendBytes ¶
convenience wrapper to write bytes to the Dag FiniteService
func (*Service) StoreBytes ¶
Store bytes bypassing Dag Service
Click to show internal directories.
Click to hide internal directories.