Documentation
¶
Overview ¶
Package loader contains initialization logic shared with the trace-loader process
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFDFromListener ¶
GetFDFromListener returns a file descriptor for the given listener.
It duplicates the underlying file descriptor so that it's still valid when the file is closed or garbage collected. The returned file descriptor can be passed to child processes using the exec syscall.
func GetListenerFromFD ¶
GetListenerFromFD creates a new net.Listener from a file descriptor
Under the hood the file descriptor will be dupped to be used by the Go runtime The file descriptor from the string will be closed
func GetTCPListener ¶
GetTCPListener returns a net.Listener listening on the given TCP address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.