Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
func NewCoordinator ¶
func NewCoordinator(dedup *trie.Dedup) *Coordinator
type Mirror ¶
type Mirror struct {
// contains filtered or unexported fields
}
func NewMirror ¶
func NewMirror(ctx context.Context, coordinator *Coordinator, conn *wire.KeyTreeClient, address, publicKey string, initial *trie.Node, follower TrieFollower) *Mirror
type TrieFollower ¶
type TrieFollower interface { FullSync(*wire.SignedRoot, *trie.Node) PartialSync(*wire.SignedRoot, *trie.Node) Updated(*wire.SignedRoot, *trie.Node, []*wire.TrieLeaf) }
Click to show internal directories.
Click to hide internal directories.