client

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MPL-2.0 Imports: 14 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 TemporalCloudAPIVersion = "2023-10-01-00"

Functions

func NewAPIKeyRPCCredential

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

Types

type Client

type Client struct {
	cloudservicev1.CloudServiceClient
}

Client is a client for the Temporal Cloud API.

func NewConnectionWithAPIKey

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

Jump to

Keyboard shortcuts

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