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()
Click to show internal directories.
Click to hide internal directories.