Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CannotDialRicochetAddressError is thrown when a connection to a ricochet address fails. CannotDialRicochetAddressError = connectivity.Error("CannotDialRicochetAddressError") )
View Source
const V3HostnameLength = 56
V3HostnameLength is the length of a Tor V3 Onion Address (without the .onion suffix)
Variables ¶
This section is empty.
Functions ¶
func GetTorV3Hostname ¶
GetTorV3Hostname converts an ed25519 public key to a valid tor onion hostname
func IsValidHostname ¶ added in v1.1.1
IsValidHostname returns true if the given address is a valid onion v3 address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.