diff --git a/nip86/responses.go b/nip86/responses.go new file mode 100644 index 0000000..126b674 --- /dev/null +++ b/nip86/responses.go @@ -0,0 +1,16 @@ +package nip86 + +type IDReason struct { + ID string `json:"id"` + Reason string `json:"reason"` +} + +type PubKeyReason struct { + PubKey string `json:"pubkey"` + Reason string `json:"reason"` +} + +type IPReason struct { + IP string `json:"ip"` + Reason string `json:"reason"` +}