utils

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2026 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSecureToken

func GenerateSecureToken(length int) (string, error)

func IsTailscaleHostname added in v0.7.0

func IsTailscaleHostname(urlStr string) bool

IsTailscaleHostname checks if a hostname looks like a Tailscale MagicDNS name

func IsTailscaleIP added in v0.7.0

func IsTailscaleIP(urlStr string) bool

IsTailscaleIP checks if a given URL contains a Tailscale IP address

func IsTailscaleURL added in v0.7.0

func IsTailscaleURL(urlStr string) bool

IsTailscaleURL checks if a URL is using Tailscale (either IP or hostname)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL