Bus UI Portal

APIURLResolver keeps module API paths host-owned.

Use the resolver helpers when a mounted module needs to call its own API or an allowed provider origin without assuming a fixed public URL shape.

Public API

Packagegithub.com/busdk/bus-ui/pkg/ui
ResolverRuntimeAPIURLResolver
NormalizeNormalizeRuntimeAPIOrigins
ResolveRuntimeAPIBaseAbsolute, ResolveRuntimeAPIURL

Example

resolver := ui.RuntimeAPIURLResolver{
  BaseURL: "/modules/accounting/api/",
}

url, err := ui.ResolveRuntimeAPIURL(resolver, "reports/current")

Back to portal integration.