Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StdioTransport ¶
type StdioTransport struct {
// contains filtered or unexported fields
}
StdioTransport implements Transport interface for stdio communication
func NewStdioTransport ¶
func NewStdioTransport() *StdioTransport
NewStdioTransport creates a new stdio transport
func (*StdioTransport) ReadMessage ¶
func (t *StdioTransport) ReadMessage() ([]byte, error)
ReadMessage reads a JSON-RPC message from stdin
func (*StdioTransport) Start ¶
func (t *StdioTransport) Start(ctx context.Context) error
Start the stdio transport
func (*StdioTransport) WriteMessage ¶
func (t *StdioTransport) WriteMessage(data []byte) error
WriteMessage writes a JSON-RPC message to stdout
Click to show internal directories.
Click to hide internal directories.