event

package
v0.23.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWmiCallback

func RegisterWmiCallback(context *CallbackContext, wmiNamespace, hostName, queryString string) (eventSink *wmi.WmiEventSink, err error)

RegisterWmiCallback

Types

type CallbackContext

type CallbackContext struct {
	// contains filtered or unexported fields
}

func NewCallbackContext

func NewCallbackContext(cb func(*wmi.WmiInstance, string), data string) *CallbackContext

NewCallbackContext

func (*CallbackContext) Execute

func (cb *CallbackContext) Execute()

Execute the callback

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL