utils

package
v0.0.0-...-8eff4b4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandCmdline

func ExpandCmdline(tpl string, funcs template.FuncMap) (string, error)

func GetURL

func GetURL(id types.ID, key *[32]byte) (string, error)

GetURL returns the URL contained within id.

id must have been created by signURL, with key.

func SignURL

func SignURL(u string, key *[32]byte) (types.ID, error)

SignURL constructs an ID from u, signed with key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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