Documentation
¶
Overview ¶
Package stdio provides the stdio transport adapter for the proxy.
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 is the inbound adapter that connects the proxy to stdin/stdout. It implements the inbound.ProxyService interface.
func NewStdioTransport ¶
func NewStdioTransport(proxyService *service.ProxyService) *StdioTransport
NewStdioTransport creates a stdio transport adapter wrapping the given proxy service.
func (*StdioTransport) Close ¶
func (t *StdioTransport) Close() error
Close gracefully shuts down the transport. For stdio, there are no resources to clean up.
Click to show internal directories.
Click to hide internal directories.