MCPcopy Create free account
hub / github.com/google/nftables / WithMonitorObject

Function WithMonitorObject

monitor.go:168–172  ·  view source on GitHub ↗

WithMonitorObject to set monitor objects.

(object MonitorObject)

Source from the content-addressed store, hash-verified

166
167// WithMonitorObject to set monitor objects.
168func WithMonitorObject(object MonitorObject) MonitorOption {
169 return func(monitor *Monitor) {
170 monitor.object = object
171 }
172}
173
174// NewMonitor returns a Monitor with options to be started.
175//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…