WithMonitorObject to set monitor objects.
(object MonitorObject)
| 166 | |
| 167 | // WithMonitorObject to set monitor objects. |
| 168 | func 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 | // |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…