Documentation ¶
Index ¶
- func ReaderTelnet(conn *telnet.Conn, expect string, timeout time.Duration) string
- func ReaderTelnetWithExpects(conn *telnet.Conn, expects []string, timeout time.Duration) string
- func SenderTelnet(conn *telnet.Conn, command string)
- func TelnetAccountVerify(host string, port int, account, password string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReaderTelnet ¶
func ReaderTelnetWithExpects ¶ added in v0.1.18
ReaderTelnetWithExpects @Description: support multi expect parameters @param conn @param expects @param timeout @return string
func SenderTelnet ¶
func SenderTelnet(conn *telnet.Conn, command string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.