buftransport

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

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 SetDisableAPISubdomain

func SetDisableAPISubdomain(env map[string]string)

SetDisableAPISubdomain sets the environment map to disable the API subdomain.

func SetUseGRPC

func SetUseGRPC(env map[string]string, useGRPC bool)

SetUseGRPC sets the environment map to use grpc based on the value.

func UseGRPC

func UseGRPC(container app.EnvContainer) (bool, error)

UseGRPC returns true if the container says to use grpc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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