http

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const HTTP = "http"
View Source
const HTTPS = "https"

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPPlugin

type HTTPPlugin struct{}

func (*HTTPPlugin) Name

func (p *HTTPPlugin) Name() string

func (*HTTPPlugin) PortPriority

func (p *HTTPPlugin) PortPriority(port uint16) bool

func (*HTTPPlugin) Priority

func (p *HTTPPlugin) Priority() int

func (*HTTPPlugin) Run

func (p *HTTPPlugin) Run(
	conn net.Conn,
	config plugins.PluginConfig,
) (*plugins.PluginResults, error)

func (*HTTPPlugin) Type

func (p *HTTPPlugin) Type() plugins.Protocol

type HTTPSPlugin

type HTTPSPlugin struct{}

func (*HTTPSPlugin) Name

func (p *HTTPSPlugin) Name() string

func (*HTTPSPlugin) PortPriority

func (p *HTTPSPlugin) PortPriority(port uint16) bool

func (*HTTPSPlugin) Priority

func (p *HTTPSPlugin) Priority() int

func (*HTTPSPlugin) Run

func (p *HTTPSPlugin) Run(
	conn net.Conn,
	config plugins.PluginConfig,
) (*plugins.PluginResults, error)

func (*HTTPSPlugin) Type

func (p *HTTPSPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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