Documentation ¶
Index ¶
- type MaskerAdopter
- func (m MaskerAdopter) Close() error
- func (m MaskerAdopter) LocalAddr() net.Addr
- func (m MaskerAdopter) Read(b []byte) (n int, err error)
- func (m MaskerAdopter) RemoteAddr() net.Addr
- func (m MaskerAdopter) SetDeadline(t time.Time) error
- func (m MaskerAdopter) SetReadDeadline(t time.Time) error
- func (m MaskerAdopter) SetWriteDeadline(t time.Time) error
- func (m MaskerAdopter) Write(b []byte) (n int, err error)
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) 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
Click to show internal directories.
Click to hide internal directories.