anlencoder

package
v0.0.0-...-e7a70b0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnlConfig

type AnlConfig struct {
	HasherBits           int
	HasherName           string
	BlockMaker           anlblock.Maker
	NewLinkBlockCallback func(block *anlblock.Header)
}

type Initializer

type Initializer func(
	encoderCLISubArgs []string,
	acfg *AnlConfig,
) (instance NodeEncoder, initErrorStrings []error)

type NodeEncoder

type NodeEncoder interface {
	NewLeaf(leafSource anlblock.DataSource) (leafBlock *anlblock.Header)
	NewLink(blocksToLink []*anlblock.Header) (linkBlock *anlblock.Header)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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