register

package
v0.0.0-...-5d84fc2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Records     uint64
	Entries     uint64
	LastUpdated time.Time
	Text        string
}

type ItemProcessor

type ItemProcessor interface {
	Process(entry map[string]interface{}, hash string, item map[string]interface{}) error
}

type Processor

type Processor interface {
	Process(map[string]interface{}) error
}

type Register

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

func NewRegister

func NewRegister(name string) (*Register, error)

func (*Register) GetEntries

func (r *Register) GetEntries(p ItemProcessor) error

func (*Register) GetSummaryEntries

func (r *Register) GetSummaryEntries(p Processor) error

func (*Register) Info

func (r *Register) Info() (*Info, error)

Jump to

Keyboard shortcuts

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