Documentation ¶
Index ¶
- Constants
- Variables
- func NewAPIKeyRPCCredential(apikey string, allowInsecure bool) credentials.PerRPCCredentials
- func NewConnection(addrStr string, allowInsecure bool, opts ...grpc.DialOption) (*grpc.ClientConn, error)
- func NewConnectionWithAPIKey(addrStr string, allowInsecure bool, apiKey string, opts ...grpc.DialOption) (*grpc.ClientConn, error)
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.
Click to show internal directories.
Click to hide internal directories.