Standard Library

GoOsSignal

Go stdlib package — os/signal. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Ignore()Neutral
#
Signature
Ignore(sig os.Signal)

Ignore causes the provided signals to be ignored. If they are received by

.Ignored()Neutral
#
Signature
Ignored(sig os.Signal) bool

Ignored reports whether sig is currently ignored.

.Notify()Neutral
#
Signature
Notify(c chan<- os.Signal, sig os.Signal)

Notify causes package signal to relay incoming signals to c.

.NotifyContext()Neutral
#
Signature
NotifyContext(parent context.Context, signals os.Signal) (context.Context, context.CancelFunc)

NotifyContext returns a copy of the parent context that is marked done

.Reset()Neutral
#
Signature
Reset(sig os.Signal)

Reset undoes the effect of any prior calls to Notify for the provided

.Stop()Neutral
#
Signature
Stop(c chan<- os.Signal)

Stop causes package signal to stop relaying incoming signals to c.

Fully-Qualified Names

FQNField
os/signalfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # os/signal