Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter() internalprotocol.Adapter
NewAdapter returns the Anthropic Messages protocol adapter.
func ParseRequest ¶
ParseRequest decodes an Anthropic Messages request directly from its body. Returned strings, slices, maps, and raw JSON own their data independently of body after this function returns.
Types ¶
type Adapter ¶
type Adapter struct{}
Adapter encodes canonical events as Anthropic Messages.
Click to show internal directories.
Click to hide internal directories.