client

package
v0.0.1-alpha.15 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A2AClient

type A2AClient struct {
	// contains filtered or unexported fields
}

A2AClient represents an A2A protocol client

func NewA2AClient

func NewA2AClient(ctx context.Context, config *Config) (*A2AClient, error)

NewA2AClient creates a new A2A client

func (*A2AClient) AgentCard

func (c *A2AClient) AgentCard(ctx context.Context) (*models.AgentCard, error)

func (*A2AClient) CancelTask

func (c *A2AClient) CancelTask(ctx context.Context, params *models.TaskIDParams) (*models.Task, error)

func (*A2AClient) GetTask

func (c *A2AClient) GetTask(ctx context.Context, params *models.TaskQueryParams) (*models.Task, error)

func (*A2AClient) ResubscribeTask

func (c *A2AClient) ResubscribeTask(ctx context.Context, params *models.TaskIDParams) (*ServerStreamingWrapper, error)

func (*A2AClient) SendMessage

func (*A2AClient) SendMessageStreaming

func (c *A2AClient) SendMessageStreaming(ctx context.Context, params *models.MessageSendParams) (*ServerStreamingWrapper, error)

func (*A2AClient) SetPushNotificationConfig

func (c *A2AClient) SetPushNotificationConfig(ctx context.Context, params *models.TaskPushNotificationConfig) (*models.TaskPushNotificationConfig, error)

type Config

type Config struct {
	Transport transport.ClientTransport
}

type ServerStreamingWrapper

type ServerStreamingWrapper struct {
	// contains filtered or unexported fields
}

func (*ServerStreamingWrapper) Close

func (s *ServerStreamingWrapper) Close() error

func (*ServerStreamingWrapper) Recv

Jump to

Keyboard shortcuts

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