masker2conn

package
v0.0.0-...-632c06c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaskerAdopter

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

func NewMaskerAdopter

func NewMaskerAdopter(masker interfaces.Masker, in net.Conn) *MaskerAdopter

func (MaskerAdopter) Close

func (m MaskerAdopter) Close() error

func (MaskerAdopter) LocalAddr

func (m MaskerAdopter) LocalAddr() net.Addr

func (MaskerAdopter) Read

func (m MaskerAdopter) Read(b []byte) (n int, err error)

func (MaskerAdopter) RemoteAddr

func (m MaskerAdopter) RemoteAddr() net.Addr

func (MaskerAdopter) SetDeadline

func (m MaskerAdopter) SetDeadline(t time.Time) error

func (MaskerAdopter) SetReadDeadline

func (m MaskerAdopter) SetReadDeadline(t time.Time) error

func (MaskerAdopter) SetWriteDeadline

func (m MaskerAdopter) SetWriteDeadline(t time.Time) error

func (MaskerAdopter) Write

func (m MaskerAdopter) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

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