gcp

package
v0.0.0-...-864eca5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// SpannerEndpoint is the endpoint that all spanner RPCs should go to.
	SpannerEndpoint = "spanner" + gcpEndpointSuffix + ":443"
)

Variables

This section is empty.

Functions

func IsGCPEndpoint

func IsGCPEndpoint(hostname string) bool

IsGCPEndpoint returns true if hostname is a GCP endpoint

func IsSpannerEndpoint

func IsSpannerEndpoint(uri string) bool

IsSpannerEndpoint returns true if the input URI is the Spanner API endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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