sniff

package
v0.0.0-...-01fe7ee Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sniffer

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

func NewSniffer

func NewSniffer(conn net.Conn) *Sniffer

func (*Sniffer) Close

func (s *Sniffer) Close() error

func (*Sniffer) LocalAddr

func (s *Sniffer) LocalAddr() net.Addr

func (*Sniffer) Read

func (s *Sniffer) Read(b []byte) (int, error)

func (*Sniffer) ReadClientHello

func (s *Sniffer) ReadClientHello() ([]byte, error)

func (*Sniffer) RemoteAddr

func (s *Sniffer) RemoteAddr() net.Addr

func (*Sniffer) SetDeadline

func (s *Sniffer) SetDeadline(t time.Time) error

func (*Sniffer) SetReadDeadline

func (s *Sniffer) SetReadDeadline(t time.Time) error

func (*Sniffer) SetWriteDeadline

func (s *Sniffer) SetWriteDeadline(t time.Time) error

func (*Sniffer) Write

func (s *Sniffer) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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