transport

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport interface {
	Dial(_ context.Context, path string) (net.Conn, error)
	Listen(path string) (net.Listener, error)
	String() string
}

Transport carries the HTTP port control messages.

func Choose

func Choose(path string) Transport

Choose a transport based on a path.

func NewUnixTransport

func NewUnixTransport() Transport

func NewVsockTransport

func NewVsockTransport() Transport

Jump to

Keyboard shortcuts

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