naming

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserPrefix

func AddUserPrefix(user, name string) string

AddUserPrefix builds the wire-level proxy name for frps by prefixing user.

func BuildTargetServerProxyName

func BuildTargetServerProxyName(localUser, serverUser, serverName string) string

BuildTargetServerProxyName resolves visitor target proxy name for wire-level protocol messages. serverUser overrides local user when set.

func StripUserPrefix

func StripUserPrefix(user, name string) string

StripUserPrefix converts a wire-level proxy name to an internal raw name. It strips only one exact "{user}." prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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