mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-22 23:00:50 +02:00
add banner to nip-11.
This commit is contained in:
parent
a8d6e1f37f
commit
7189cd7e02
@ -24,6 +24,7 @@ type RelayInformationDocument struct {
|
|||||||
Fees *RelayFeesDocument `json:"fees,omitempty"`
|
Fees *RelayFeesDocument `json:"fees,omitempty"`
|
||||||
Retention []*RelayRetentionDocument `json:"retention,omitempty"`
|
Retention []*RelayRetentionDocument `json:"retention,omitempty"`
|
||||||
Icon string `json:"icon"`
|
Icon string `json:"icon"`
|
||||||
|
Banner string `json:"banner"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (info *RelayInformationDocument) AddSupportedNIP(number int) {
|
func (info *RelayInformationDocument) AddSupportedNIP(number int) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user