Documentation
¶
Overview ¶
Package parse unmarshals raw JSON bytes into MCP request structs, filtering out notifications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Request ¶
Request unmarshals raw JSON into a proto.Request.
Returns nil request for notifications (no ID). Returns an error response for malformed JSON.
Parameters:
- data: raw JSON bytes from stdin
Returns:
- *proto.Request: parsed request, nil for notifications
- *proto.Response: parse error response, nil on success
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.