Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelnetClient ¶
type TelnetClient struct {
// contains filtered or unexported fields
}
TelnetClient maintain a connection to target
func NewTelnetClient ¶
func NewTelnetClient(host string, port int, protocolName, interfaceID, version, group, method string, reqPkg interface{}, timeout int) (*TelnetClient, error)
NewTelnetClient create a new tcp connection, and create default request
func (*TelnetClient) ProcessRequests ¶
func (t *TelnetClient) ProcessRequests(userPkg interface{})
ProcessRequests send all requests
Click to show internal directories.
Click to hide internal directories.