controlplaneurl

package
v0.5.40-beta Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package controlplaneurl provides canonical control-plane URL identity and endpoint construction.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Endpoint

func Endpoint(base string, segments ...string) (string, error)

Endpoint appends escaped path segments to a canonical control-plane base URL.

func IsLoopbackHostname

func IsLoopbackHostname(hostname string) bool

IsLoopbackHostname reports whether hostname identifies the local machine.

func NormalizeBase

func NormalizeBase(raw string) (string, error)

NormalizeBase validates and canonicalizes a control-plane HTTP base URL.

func WebSocketEndpoint

func WebSocketEndpoint(base string, segments ...string) (string, error)

WebSocketEndpoint builds a control-plane endpoint and converts its scheme to WebSocket.

Types

This section is empty.

Jump to

Keyboard shortcuts

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