mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-07 14:49:56 +02:00
move nostr-sdk repository into here because why not?
This commit is contained in:
8
sdk/hints/interface.go
Normal file
8
sdk/hints/interface.go
Normal file
@ -0,0 +1,8 @@
|
||||
package hints
|
||||
|
||||
import "github.com/nbd-wtf/go-nostr"
|
||||
|
||||
type HintsDB interface {
|
||||
TopN(pubkey string, n int) []string
|
||||
Save(pubkey string, relay string, key HintKey, score nostr.Timestamp)
|
||||
}
|
Reference in New Issue
Block a user