Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPortFromAddress ¶
ExtractPortFromAddress extracts a numeric trailing port token from a host:port address or malformed best-effort address string.
func PublicURLAddress ¶
PublicURLAddress derives the public-facing address using the configured listen host and the resolved runtime port.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func NewAppWithIO ¶
NewAppWithIO constructs an App with the given output writers and the default ingestor/store constructors.
func NewAppWithIOAndHooks ¶
func NewAppWithIOAndHooks(stdout, stderr io.Writer, hooks RuntimeHooks) *App
NewAppWithIOAndHooks constructs an App with the given writers, overriding the default ingestor/store/retriever constructors with any non-nil hooks (used by tests to inject fakes).