snapshot

package
v0.0.0-...-97db044 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(ads provider.ADS, sds provider.SDS, c cache.SnapshotCache, log logger.Logger) *Manager

func (*Manager) Listen

func (d *Manager) Listen(updateChannel chan UpdateReason)

type StaticHash

type StaticHash struct{}

StaticHash will return a constant hash for all nodes.

func (StaticHash) ID

func (StaticHash) ID(node *core.Node) string

type UpdateReason

type UpdateReason string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL