Documentation
¶
Overview ¶
Package normalize is a set of tools for cleaning up URL s and formatting nostr OK and CLOSED messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WS = []byte("ws://") WSS = []byte("wss://") HTTP = []byte("http://") HTTPS = []byte("https://") )
Functions ¶
Types ¶
type Reason ¶
type Reason []byte
Reason is the machine-readable prefix before the colon in an OK or CLOSED envelope message. Below are the most common kinds that are mentioned in NIP-01.
Click to show internal directories.
Click to hide internal directories.