constants

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOptions added in v0.4.0

func DefaultOptions() []grpc.DialOption

DefaultOptions - Provides option defaults for creating a gRPC service connection with the Nitric Membrane

func GetEnvWithFallback

func GetEnvWithFallback(varName string, fallback string) string

getEnvWithFallback - Returns an envirable variable's value from its name or a default value if the variable isn't set

func NitricAddress

func NitricAddress() string

nitricAddress - constructs the full address i.e. host:port, of the nitric service based on config or defaults

func NitricDialTimeout added in v0.4.0

func NitricDialTimeout() time.Duration

NitricDialTimeout - Retrieves default service dial timeout in milliseconds

Types

This section is empty.

Jump to

Keyboard shortcuts

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