Documentation
¶
Index ¶
- type Option
- func WithContact(contact string) Option
- func WithDescription(description string) Option
- func WithMaxCache(max int) Option
- func WithMaxEventSize(max int) Option
- func WithName(name string) Option
- func WithPubKey(pubKey string) Option
- func WithSoftwareURL(software string) Option
- func WithStorage(storage *postgresql.PostgresBackend) Option
- type Relay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func WithContact ¶
func WithDescription ¶
func WithMaxCache ¶
func WithMaxEventSize ¶
func WithPubKey ¶
func WithSoftwareURL ¶
func WithStorage ¶
func WithStorage(storage *postgresql.PostgresBackend) Option
type Relay ¶
type Relay struct {
// contains filtered or unexported fields
}
func (*Relay) GetNIP11InformationDocument ¶
func (r *Relay) GetNIP11InformationDocument() nip11.RelayInformationDocument
Click to show internal directories.
Click to hide internal directories.