add nip-11 type.

This commit is contained in:
fiatjaf 2022-07-11 15:51:24 -03:00
parent 1f1d3cfe7f
commit 66aa4e9de2

11
nip11/types.go Normal file
View File

@ -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"`
}