Documentation ¶
Overview ¶
Package stdio is a Connection to a stdin/stdout Terminal session
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
Connection provides an interface for storing the inbox for received messages via stdio connection type
func NewConnection ¶
func NewConnection() *Connection
NewConnection creates a new StdIO object with an inbox to keep track of messages
func (*Connection) Start ¶
func (s *Connection) Start(errorChannel chan error) (rx, tx message.BasicChannel)
Start creates two message channels to send and receive messages. It will start two goroutines to listen and send on these channels
Click to show internal directories.
Click to hide internal directories.