Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatToken ¶
FormatToken combines a tunnel ID and plaintext secret into a tunnel token string.
func GenerateSecret ¶
GenerateSecret creates a new random secret and its bcrypt hash. Returns (plaintext, hash, error). The plaintext should be shown to the user once.
func HashSecret ¶
HashSecret creates a bcrypt hash from a plaintext secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.