vsock

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrVSockConnectionBadFileDescriptor = errors.New("bad file descriptor in VSock connection")
	ErrCouldNotShutdownVSockConnection  = errors.New("could not shut down VSock connection")
	ErrCouldNotCloseVSockConn           = errors.New("could not close VSock connection")
)
View Source
var (
	ErrVSockSocketCreationFailed = errors.New("could not create VSOCK socket")
	ErrVSockDialContextCancelled = errors.New("VSock dial context cancelled")
	ErrVSockConnectFailed        = errors.New("could not connect to VSOCK socket")
)

Functions

func DialContext

func DialContext(
	ctx context.Context,

	cid uint32,
	port uint32,
) (c io.ReadWriteCloser, errs error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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