buftransport

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 2

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 PrependHTTPS added in v1.5.0

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