hadb

package
v0.0.0-...-8560e86 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

© 2022 OSINT Fingerprint Project Contributors

Index

Constants

This section is empty.

Variables

View Source
var ErrEntryNotFound = errors.New("row not found")

Functions

This section is empty.

Types

type HashDBEntry

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

type HashDBReader

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

func NewHADBReader

func NewHADBReader(file string) (*HashDBReader, error)

create an HADB reader object

func (HashDBReader) Dump

func (x HashDBReader) Dump()

func (HashDBReader) Find

func (x HashDBReader) Find(key string, column string) (*gjson.Result, error)

func (HashDBReader) Lookup

func (x HashDBReader) Lookup(key string, result interface{}) (bool, error)

type HashDBWriter

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

func NewHADBWriter

func NewHADBWriter(file string) (*HashDBWriter, error)

func (HashDBWriter) Close

func (x HashDBWriter) Close() error

func (HashDBWriter) InsertFunc

func (x HashDBWriter) InsertFunc(key string, row json.RawMessage) error

Jump to

Keyboard shortcuts

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