nip05

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeIdentifier

func NormalizeIdentifier(fullname string) string

func QueryIdentifier

func QueryIdentifier(fullname string) string

Types

type Key2RelaysMap

type Key2RelaysMap map[string][]string

type Name2KeyMap

type Name2KeyMap map[string]string

type WellKnownResponse

type WellKnownResponse struct {
	Names  Name2KeyMap   `json:"names"`  // NIP-05
	Relays Key2RelaysMap `json:"relays"` // NIP-35
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL