api

package
v0.0.0-...-5ed2604 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthorizationHeader       = "Authorization"
	AuthorizationHeaderPrefix = "Bearer"
)
View Source
const (
	TemporalCloudAPIVersionHeader = "temporal-cloud-api-version"
)

Variables

View Source
var (
	//go:embed version
	TemporalCloudAPIVersion string
)

Functions

func NewAPIKeyRPCCredential

func NewAPIKeyRPCCredential(apikey string, allowInsecure bool) credentials.PerRPCCredentials

func NewConnection

func NewConnection(addrStr string, allowInsecure bool, opts ...grpc.DialOption) (*grpc.ClientConn, error)

func NewConnectionWithAPIKey

func NewConnectionWithAPIKey(addrStr string, allowInsecure bool, apiKey string, opts ...grpc.DialOption) (*grpc.ClientConn, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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