lmdbh

package
v0.0.0-...-4719c0b Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Unlicense Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LMDBHints

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

func NewLMDBHints

func NewLMDBHints(path string) (*LMDBHints, error)

func (*LMDBHints) Close

func (lh *LMDBHints) Close()

func (*LMDBHints) GetDetailedScores

func (lh *LMDBHints) GetDetailedScores(pubkey nostr.PubKey, n int) []hints.RelayScores

func (*LMDBHints) PrintScores

func (lh *LMDBHints) PrintScores()

func (*LMDBHints) Save

func (lh *LMDBHints) Save(pubkey nostr.PubKey, relay string, hintkey hints.HintKey, ts nostr.Timestamp)

func (*LMDBHints) TopN

func (lh *LMDBHints) TopN(pubkey nostr.PubKey, n int) []string

Jump to

Keyboard shortcuts

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