MCPcopy Create free account
hub / github.com/brimdata/super / Init

Method Init

cli/cli.go:37–39  ·  view source on GitHub ↗

Init is equivalent to InitWithSignals with SIGINT, SIGPIPE, and SIGTERM.

(all ...Initializer)

Source from the content-addressed store, hash-verified

35
36// Init is equivalent to InitWithSignals with SIGINT, SIGPIPE, and SIGTERM.
37func (f *Flags) Init(all ...Initializer) (context.Context, context.CancelFunc, error) {
38 return f.InitWithSignals(all, syscall.SIGINT, syscall.SIGPIPE, syscall.SIGTERM)
39}
40
41// InitWithSignals handles the flags defined in SetFlags, calls the Init method
42// for each element of all, and returns a context canceled when any signal in

Callers 1

runInternalFunction · 0.95

Calls 1

InitWithSignalsMethod · 0.95

Tested by

no test coverage detected