useragent

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "port-cli"

Name is the product identifier in User-Agent strings.

Variables

This section is empty.

Functions

func SetVersion

func SetVersion(v string)

SetVersion sets the CLI version used in User-Agent (e.g. from build / main).

func String

func String() string

String returns the User-Agent value, e.g. "port-cli/0.1.3 (darwin/arm64)".

Types

This section is empty.

Jump to

Keyboard shortcuts

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