package
3.25.0-alpha
Repository: https://github.com/ooni/probe-cli.git
Documentation: pkg.go.dev

# Functions

CopyFile is like [shellx.CopyFile] but calls [runtimex.PanicOnError] on failure.
CreateFile is like [os.Create] but calls [runtimex.PanicOnError] on failure.
FirstLineBytes takes in input a sequence of bytes and returns in output the first line.
Fprintf is like [fmt.Fprintf] but calls [runtimex.PanicOnError] on failure.
Listen is like [net.Listen] but calls [runtimex.PanicOnError] on failure.
MarshalAndIndentJSON is like [json.MarshalIndent] but calls [runtimex.PanicOnError] on failure.
MarshalJSON is like [json.Marshal] but calls [runtimex.PanicOnError] on failure.
NewHTTPRequest is like [http.NewRequest] but calls [runtimex.PanicOnError] on failure.
OpenFile is like [os.Open] but calls [runtimex.PanicOnError] on failure.
ParseURL is like [url.Parse] but calls [runtimex.PanicOnError] on failure.
ReadFile is like [os.ReadFile] but calls [runtimex.PanicOnError] on failure.
Run is like [shellx.Run] but calls [runtimex.PanicOnError] on failure.
RunCommandLine is like [shellx.RunCommandLine] but calls [runtimex.PanicOnError] on failure.
RunCommandLineQuiet is like [shellx.RunCommandLineQuiet] but calls [runtimex.PanicOnError] on failure.
RunOutput is like [shellx.Output] but calls [runtimex.PanicOnError] on failure.
RunOutputQuiet is like [shellx.OutputQuiet] but calls [runtimex.PanicOnError] on failure.
RunQuiet is like [shellx.RunQuiet] but calls [runtimex.PanicOnError] on failure.
SplitHostPort is like [net.SplitHostPort] but calls [runtimex.PanicOnError] on failure.
UnmarshalJSON is like [json.Marshal] but calls [runtimex.PanicOnError] on failure.
WriteFile is like [os.WriteFile] but calls [runtimex.PanicOnError] on failure.

# Structs

File wraps [os.File].