socket

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Transport

func Transport(path string) (http.RoundTripper, error)

Types

type Listener added in v0.1.5

type Listener interface {
	net.Listener
	// contains filtered or unexported methods
}

func From added in v0.1.5

func From(file *os.File) (Listener, error)

From turns a file into a Listener or fails trying

func Listen

func Listen(path string) (Listener, error)

Listen on a path or port

Jump to

Keyboard shortcuts

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