MCPcopy
hub / github.com/evilsocket/opensnitch / GetAll

Method GetAll

daemon/rule/loader.go:63–67  ·  view source on GitHub ↗

GetAll returns the loaded rules.

()

Source from the content-addressed store, hash-verified

61
62// GetAll returns the loaded rules.
63func (l *Loader) GetAll() map[string]*Rule {
64 l.RLock()
65 defer l.RUnlock()
66 return l.rules
67}
68
69// EnableChecksums enables checksums field for rules globally.
70func (l *Loader) EnableChecksums(enable bool) {

Callers 1

getClientConfigMethod · 0.80

Calls 2

RLockMethod · 0.80
RUnlockMethod · 0.80

Tested by

no test coverage detected