Skip to main content

Crate shuru_proxy

Crate shuru_proxy 

Source

Re-exports§

pub use config::ProxyConfig;

Modules§

config

Structs§

ProxyHandle
Handle to a running proxy. Shuts down on drop.

Functions§

create_socketpair
Create a Unix datagram socketpair for VZFileHandleNetworkDeviceAttachment. Returns (vm_fd, host_fd). The vm_fd goes to VZ, host_fd goes to the proxy.
start
Start the proxy engine. Returns a handle that keeps it running.