protocol

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Protocol

type Protocol string

Protocol identifies an AI agent communication protocol.

const (
	ProtocolA2A Protocol = "a2a" // Google Agent-to-Agent
	ProtocolACP Protocol = "acp" // IBM Agent Communication Protocol
	ProtocolMCP Protocol = "mcp" // Anthropic Model Context Protocol
)

func (Protocol) String

func (p Protocol) String() string

func (Protocol) Valid

func (p Protocol) Valid() bool

Valid returns true if the protocol is a known type.

type Transport

type Transport string

Transport identifies a network transport.

const (
	TransportHTTP  Transport = "http"
	TransportWS    Transport = "ws"
	TransportStdio Transport = "stdio"
)

func (Transport) String

func (t Transport) String() string

Directories

Path Synopsis
Package acp defines shared ACP (Agent Communication Protocol) types used across server and CLI modules.
Package acp defines shared ACP (Agent Communication Protocol) types used across server and CLI modules.

Jump to

Keyboard shortcuts

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