links

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomLink(ctx context.Context, baseURL url.URL, subdirectories,
	variablesCount int, linkHasVariablesProbability float64,
) string

RandomLink generates a random link based on given base URL, the number of random subdirectories and random variables.

func RandomSimpleLink(ctx context.Context, baseURL url.URL) string

RandomSimpleLink generates a random link based on the given base URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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