port

package
v0.0.0-...-cc86db0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Ok               = "Ok"
	Open_port_failed = "Open_port_failed"
	Read_port_failed = "Read_port_failed"
	IO_socket_error  = "IO_port_failed"
	Unknown_error    = "Unknown_error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PortPlugin

type PortPlugin struct {
	// contains filtered or unexported fields
}

func NewPortPlugin

func NewPortPlugin(id string, targetHost string, portNumber int, flowLimit int) *PortPlugin

func (*PortPlugin) Execute

func (p *PortPlugin) Execute(dataChannel channel.ISessionChannel, cancelFlag util.CancelFlag) (errorCode string, pluginErr error)

func (*PortPlugin) InputStreamMessageHandler

func (p *PortPlugin) InputStreamMessageHandler(streamDataMessage message.Message) error

func (*PortPlugin) Stop

func (p *PortPlugin) Stop()

Jump to

Keyboard shortcuts

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