Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HintDB ¶
type HintDB struct { RelayBySerial []string OrderedRelaysByPubKey map[string]RelaysForPubKey sync.Mutex }
func (*HintDB) PrintScores ¶
func (db *HintDB) PrintScores()
type RelayEntry ¶
type RelayEntry struct { Relay int Timestamps [7]nostr.Timestamp }
func (RelayEntry) Sum ¶
func (re RelayEntry) Sum() int64
type RelaysForPubKey ¶
type RelaysForPubKey struct {
Entries []RelayEntry
}
Click to show internal directories.
Click to hide internal directories.