imap

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const IMAP = "imap"
View Source
const IMAPS = "imaps"

Variables

This section is empty.

Functions

func DetectIMAP

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

Types

type IMAPPlugin

type IMAPPlugin struct{}

func (*IMAPPlugin) Name

func (p *IMAPPlugin) Name() string

func (*IMAPPlugin) PortPriority

func (p *IMAPPlugin) PortPriority(i uint16) bool

func (*IMAPPlugin) Priority

func (p *IMAPPlugin) Priority() int

func (*IMAPPlugin) Run

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

func (*IMAPPlugin) Type

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

type TLSPlugin

type TLSPlugin struct{}

func (*TLSPlugin) Name

func (p *TLSPlugin) Name() string

func (*TLSPlugin) PortPriority

func (p *TLSPlugin) PortPriority(i 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