Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyHeader = "User-PublicKey" Protocol = "http://" URLSuffix = ".onion" PublicEndpointPort = 3690 PresenceInterval = 60 * 1000 // milliseconds )
Variables ¶
View Source
var IsAlpha = regexp.MustCompile(`^[A-Za-z]+$`).MatchString
View Source
var IsAlphanumeric = regexp.MustCompile(`^[A-Za-z0-9]+$`).MatchString
Functions ¶
func ValidateMessage ¶
func ValidatePublicKey ¶
func ValidateURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.