buftransport

package
v0.0.0-...-26f4575 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

func PrependAPISubdomain(address string) string

PrependAPISubdomain prepends the API subdomain to the given address.

func PrependHTTP

func PrependHTTP(address string) string

PrependHTTP prepends an http scheme to the given address

func PrependHTTPS

func PrependHTTPS(address string) string

PrependHTTPS prepends an https scheme to the given address

func SetDisableAPISubdomain

func SetDisableAPISubdomain(env map[string]string)

SetDisableAPISubdomain sets the environment map to disable the API subdomain.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL