aboutsummaryrefslogtreecommitdiff
path: root/internal/exec/wmi/module.go
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-04-09 07:48:16 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-04-09 07:48:16 -0500
commit05873b432686fd584a07e98d37d4eb0cc5104da1 (patch)
tree7d4f73b83cc0876a0b29044d30d32f5a38385a00 /internal/exec/wmi/module.go
parentd417d3d4185725967c9333f59942ee348248f2b2 (diff)
downloadgoexec-05873b432686fd584a07e98d37d4eb0cc5104da1.tar.gz
goexec-05873b432686fd584a07e98d37d4eb0cc5104da1.zip
Remodel WMI module; Update TODO; Update deps
Diffstat (limited to 'internal/exec/wmi/module.go')
-rw-r--r--internal/exec/wmi/module.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/exec/wmi/module.go b/internal/exec/wmi/module.go
index f90af42..0e83aa8 100644
--- a/internal/exec/wmi/module.go
+++ b/internal/exec/wmi/module.go
@@ -16,7 +16,7 @@ type Module struct {
sc iwbemservices.ServicesClient
}
-type MethodCustomConfig struct {
+type MethodCallConfig struct {
Class string
Method string
Arguments map[string]any
@@ -28,6 +28,6 @@ type MethodProcessConfig struct {
}
const (
- MethodCustom = "custom"
+ MethodCall = "call"
MethodProcess = "process"
)