Documentation
¶
Index ¶
Constants ¶
View Source
const BinaryName = "metricserver"
BinaryName is the name of the embedded binary.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // Argv is the set of arguments to exec with. // `Argv[0]` is the name of the binary as invoked. // If Argv is empty, it will default to a single-element slice, with // `Argv[0]` being the binary name. Argv []string // Envv is the set of environment variables to pass to the executed process. Envv []string // Files is the set of file descriptors to pass to forked processes. // Only used when forking, not pure exec'ing. Files []uintptr }
Options is the set of options to execute the embedded binary.
Click to show internal directories.
Click to hide internal directories.