mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-22 08:14:20 +01:00
notifications: server implementation
This commit is contained in:
10
notifications/store.go
Normal file
10
notifications/store.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package notifications
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type Store interface {
|
||||
Register(ctx context.Context, pubkey string, url string) error
|
||||
GetRegistrations(ctx context.Context, pubkey string) ([]string, error)
|
||||
}
|
||||
Reference in New Issue
Block a user