memlistener

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryListener

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

func New

func New() *MemoryListener

func (*MemoryListener) Dial

func (l *MemoryListener) Dial(network, address string) (net.Conn, error)

func (*MemoryListener) Listen

func (l *MemoryListener) Listen(network, address string) (net.Listener, error)

func (*MemoryListener) ListenMem

func (l *MemoryListener) ListenMem(network, address string, sz int) (net.Listener, error)

Jump to

Keyboard shortcuts

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