Documentation ¶
Index ¶
- Constants
- func Decode(bech32string string) (prefix string, value any, err error)
- func EncodeEntity(publicKey string, kind int, identifier string, relays []string) (string, error)
- func EncodeEvent(eventIdHex string, relays []string, author string) (string, error)
- func EncodeNote(eventIdHex string) (string, error)
- func EncodePrivateKey(privateKeyHex string) (string, error)
- func EncodeProfile(publicKeyHex string, relays []string) (string, error)
- func EncodePublicKey(publicKeyHex string) (string, error)
Constants ¶
View Source
const ( TLVDefault uint8 = 0 TLVRelay uint8 = 1 TLVAuthor uint8 = 2 TLVKind uint8 = 3 )
Variables ¶
This section is empty.
Functions ¶
func EncodeEntity ¶ added in v0.14.0
func EncodeEvent ¶ added in v0.10.0
func EncodeNote ¶
func EncodePrivateKey ¶
func EncodeProfile ¶ added in v0.10.0
func EncodePublicKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.