telnet

package
v0.0.0-...-37d5b15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LongWrite

func LongWrite(w io.Writer, p []byte) (int64, error)

func LongWriteByte

func LongWriteByte(w io.Writer, b byte) error

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 LongWriteString

func LongWriteString(w io.Writer, s string) (int64, error)

func ModuleManagerHandler

func ModuleManagerHandler(stdin io.ReadCloser, stdout io.WriteCloser, stderr io.WriteCloser, args ...string) error

func ModuleManagerProducer

func ModuleManagerProducer(ctx telnet.Context, name string, args ...string) telsh.Handler

func ModuleMsgSendProducer

func ModuleMsgSendProducer(ctx telnet.Context, name string, args ...string) telsh.Handler

func Run

func Run()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL