Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChallengeTag = by("challenge")
View Source
var RelayTag = by("relay")
Functions ¶
func CreateUnsigned ¶
CreateUnsigned creates an event which should be sent via an "AUTH" command. If the authentication succeeds, the user will be authenticated as pubkey.
func GenerateChallenge ¶
func GenerateChallenge() (b by)
GenerateChallenge creates a reasonable, 96 byte base64 challenge string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.