telnet

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReaderTelnet

func ReaderTelnet(conn *telnet.Conn, expect string, timeout time.Duration) string

func ReaderTelnetWithExpects added in v0.1.18

func ReaderTelnetWithExpects(conn *telnet.Conn, expects []string, timeout time.Duration) string

ReaderTelnetWithExpects @Description: support multi expect parameters @param conn @param expects @param timeout @return string

func SenderTelnet

func SenderTelnet(conn *telnet.Conn, command string)

func TelnetAccountVerify

func TelnetAccountVerify(host string, port int, account, password string) (bool, error)

TelnetAccountVerify 验证Telnet账号密码是否正确

Types

This section is empty.

Jump to

Keyboard shortcuts

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