tester

package
v0.0.0-...-cc179fe Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenX509KeyPair

func GenX509KeyPair(domain string) (tls.Certificate, error)

GenX509KeyPair generates a self signed smtp server certificate with the given domain.

Types

type Conn

type Conn struct {
	io.ReadWriter
	RemoteAddrReturn net.Addr
}

func NewConn

func NewConn(in string, out *bytes.Buffer) *Conn

func NewConnStream

func NewConnStream(in io.Reader, out *bytes.Buffer) *Conn

func (Conn) Close

func (f Conn) Close() error

func (Conn) LocalAddr

func (f Conn) LocalAddr() net.Addr

func (Conn) RemoteAddr

func (f Conn) RemoteAddr() net.Addr

func (Conn) SetDeadline

func (f Conn) SetDeadline(time.Time) error

func (Conn) SetReadDeadline

func (f Conn) SetReadDeadline(time.Time) error

func (Conn) SetWriteDeadline

func (f Conn) SetWriteDeadline(time.Time) error

Jump to

Keyboard shortcuts

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