diff --git a/nip11/types.go b/nip11/types.go new file mode 100644 index 0000000..0b150b9 --- /dev/null +++ b/nip11/types.go @@ -0,0 +1,11 @@ +package nip11 + +type RelayInformationDocument struct { + Name string `json:"name"` + Description string `json:"description"` + PubKey string `json:"pubkey"` + Contact string `json:"contact"` + SupportedNIPs []int `json:"supported_nips"` + Software string `json:"software"` + Version string `json:"version"` +}