forked from coracle/nostrlib
add nip86 (relay management API) types.
This commit is contained in:
@@ -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