Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor is a generic monitor to subscribe to Wmi Events based on a Query String
func CreateMonitor ¶
func CreateMonitor(wmiNamespace string, callbackContext interface{}, callback func(interface{}, string)) *Monitor
CreateMonitor createa a new Monitor
func (*Monitor) AddEntityWithFilter ¶
func (c *Monitor) AddEntityWithFilter(entityName, wqlQueryString string, filters query.WmiQueryFilterCollection) (err error)
AddEntityWithFilter would add the entity to be monitored for changes
func (*Monitor) RemoveEntity ¶
RemoveEntity to remove the entity being monitored for changes
Click to show internal directories.
Click to hide internal directories.