Documentation
¶
Index ¶
Constants ¶
View Source
const ( MAC = "1a:55:89:a2:69:41" Netmask = "255.255.255.0" IP = "10.0.0.1" Gateway = "10.0.0.2" Resolver = "8.8.8.8:53" )
This example starts TCP/IP networking on all available network interfaces (either USB, Ethernet or both), for simplicity each NIC is assigned the same IP address and its own gVisor stack.
For more advanced use cases gVisor supports sharing a single stack across different NIC IDs and routing while this example simply clones interface configuration and stack.
Variables ¶
This section is empty.
Functions ¶
func SetupStaticWebAssets ¶
func SetupStaticWebAssets(banner string)
func StartSSHServer ¶
func StartSSHServer(listener net.Listener, handler ConsoleHandler)
Types ¶
Click to show internal directories.
Click to hide internal directories.