lxd: github.com/lxc/lxd/lxd/vsock Index | Files

package vsock

import "github.com/lxc/lxd/lxd/vsock"


Package Files


func Dial Uses

func Dial(cid, port uint32) (net.Conn, error)

Dial connects to a remote vsock.

func HTTPClient Uses

func HTTPClient(vsockID int, tlsClientCert string, tlsClientKey string, tlsServerCert string) (*http.Client, error)

HTTPClient provides an HTTP client for using over vsock.

func Listen Uses

func Listen(port uint32) (net.Listener, error)

Listen listens for a connection.

Package vsock imports 5 packages (graph) and is imported by 6 packages. Updated 2019-11-09. Refresh now. Tools for package owners.