mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
add nip86 (relay management API) types.
This commit is contained in:
11
nip86/types.go
Normal file
11
nip86/types.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package nip86
|
||||
|
||||
type Request struct {
|
||||
Method string `json:"method"`
|
||||
Params []any `json:"params"`
|
||||
}
|
||||
|
||||
type Response struct {
|
||||
Result any `json:"result"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
Reference in New Issue
Block a user