Documentation
¶
Overview ¶
Package uri defines Sink's canonical, backend-independent resource addresses. Store adapters interpret path segments; routing compares the complete URI.
Index ¶
Constants ¶
View Source
const MaxAddressBytes = 16 << 10
Variables ¶
This section is empty.
Functions ¶
func ValidStore ¶
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
Address is immutable. Store adapters interpret its resource path. Record addresses use the complete URI as identity.
func AppendKey ¶
AppendKey uses the typed-key convention supported by the built-in stores. Custom stores may define other path grammars and construct addresses with New.
func Parse ¶
Parse accepts only the canonical spelling. It never cleans paths, resolves aliases, interprets key types, or applies backend-specific normalization.
func (Address) EscapedPath ¶
EscapedPath preserves canonical path encoding. An empty path targets the Store.
func (Address) RoutingKey ¶
Click to show internal directories.
Click to hide internal directories.