mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-28 18:51:53 +01:00
add nip-11 type.
This commit is contained in:
parent
1f1d3cfe7f
commit
66aa4e9de2
11
nip11/types.go
Normal file
11
nip11/types.go
Normal 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"`
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user