uap

package
v0.0.0-...-6cce6f8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package uap provides capability for Google Cloud Agents to communicate with Google Cloud Service Providers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommunicateWithUAP

func CommunicateWithUAP(ctx context.Context, endpoint string, channel string, messageHandler MessageHandlerFunc, cloudProperties *metadataserver.CloudProperties) error

CommunicateWithUAP establishes ongoing communication with UAP Highway. "endpoint" is the endpoint and will often be an empty string. "channel" is the registered channel name to be used for communication between the agent and the service provider. "messageHandler" is the function that the agent will use to handle incoming messages.

Types

type MessageHandlerFunc

MessageHandlerFunc is the function that the agent will use to handle incoming messages.

Jump to

Keyboard shortcuts

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