Documentation ¶
Index ¶
- func LongWrite(w io.Writer, p []byte) (int64, error)
- func LongWriteByte(w io.Writer, b byte) error
- func LongWriteString(w io.Writer, s string) (int64, error)
- func ModuleManagerHandler(stdin io.ReadCloser, stdout io.WriteCloser, stderr io.WriteCloser, ...) error
- func ModuleManagerProducer(ctx telnet.Context, name string, args ...string) telsh.Handler
- func ModuleMsgSendProducer(ctx telnet.Context, name string, args ...string) telsh.Handler
- func Run()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LongWriteByte ¶
LongWriteByte trys to write the byte from 'b' to the writer 'w', such that it deals with "short writes" where w.Write would return an error of io.ErrShortWrite and n < 1.
Note that LongWriteByte still could return the error io.ErrShortWrite; but this would only be after trying to handle the io.ErrShortWrite a number of times, and then eventually giving up.
func ModuleManagerHandler ¶
func ModuleManagerHandler(stdin io.ReadCloser, stdout io.WriteCloser, stderr io.WriteCloser, args ...string) error
func ModuleManagerProducer ¶
func ModuleMsgSendProducer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.