Documentation ¶
Index ¶
Constants ¶
View Source
const (
// APISubdomain is the subdomain used for calls to the BSR API
APISubdomain = "api"
)
Variables ¶
This section is empty.
Functions ¶
func IsAPISubdomainEnabled ¶
func IsAPISubdomainEnabled(container app.EnvContainer) bool
IsAPISubdomainEnabled returns true if the container says to use the API subdomain.
func PrependAPISubdomain ¶
PrependAPISubdomain prepends the API subdomain to the given address.
func PrependHTTPS ¶ added in v1.5.0
PrependHTTPS prepends an https scheme to the given address
func SetDisableAPISubdomain ¶
SetDisableAPISubdomain sets the environment map to disable the API subdomain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.