Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostRegistrationBus ¶
type HostRegistrationBus interface {
Publish(ctx context.Context, bundle URLBundle) error
Close() error
}
HostRegistrationBus is the public interface for publishing URL bundles. Implementations are package-private to prevent external construction.
func New ¶
func New(subscriber chan URLBundle) (HostRegistrationBus, error)
New constructs a new host registration bus with the provided subscriber channel.
type URLBundle ¶
URLBundle captures a set of URLs discovered by any component. It keeps transport hints generic and intentionally avoids OAuth-specific fields.
type URLRecord ¶
type URLRecord struct {
URL *url.URL
Description string
Tags []Tag
UnixSocketPath string
// DisallowPrivateHostRegistration prevents this record from being admitted
// as a private-host target or seeding OAuth protected-resource host policy.
// An exact trusted protected-resource origin may still admit the record.
DisallowPrivateHostRegistration bool
}
URLRecord describes a single URL plus optional metadata tags.
Click to show internal directories.
Click to hide internal directories.