pop3

package
v0.0.49 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const POP3 = "pop3"
View Source
const POP3S = "pop3s"

Variables

This section is empty.

Functions

func DetectPOP3

func DetectPOP3(conn net.Conn, timeout time.Duration, tls bool) (string, bool, error)

Types

type POP3Plugin

type POP3Plugin struct{} // POP3

func (*POP3Plugin) Name

func (p *POP3Plugin) Name() string

func (*POP3Plugin) PortPriority

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

func (*POP3Plugin) Priority

func (p *POP3Plugin) Priority() int

func (*POP3Plugin) Run

func (p *POP3Plugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*POP3Plugin) Type

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

type TLSPlugin

type TLSPlugin struct{} // POP3S

func (*TLSPlugin) Name

func (p *TLSPlugin) Name() string

func (*TLSPlugin) PortPriority

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

func (*TLSPlugin) Priority

func (p *TLSPlugin) Priority() int

func (*TLSPlugin) Run

func (p *TLSPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*TLSPlugin) Type

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

Jump to

Keyboard shortcuts

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