serverinstance

package
v0.10.15 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromBaseURL

func FromBaseURL(baseURL string) string

FromBaseURL derives a stable server-instance label from the URL host/port.

func Normalize

func Normalize(baseURL, explicit string) string

Normalize returns the explicit server instance when present, otherwise a deterministic identity derived from baseURL's host and port.

The derived identity ignores URL path components so provider endpoints that differ only by `/v1` root normalization still collapse to the same server-instance label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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