x
This commit is contained in:
24
internal/wechat/model/process.go
Normal file
24
internal/wechat/model/process.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package model
|
||||
|
||||
type Process struct {
|
||||
PID uint32
|
||||
ExePath string
|
||||
Platform string
|
||||
Version int
|
||||
FullVersion string
|
||||
Status string
|
||||
DataDir string
|
||||
AccountName string
|
||||
}
|
||||
|
||||
// 平台常量定义
|
||||
const (
|
||||
PlatformWindows = "windows"
|
||||
PlatformMacOS = "darwin"
|
||||
)
|
||||
|
||||
const (
|
||||
StatusInit = ""
|
||||
StatusOffline = "offline"
|
||||
StatusOnline = "online"
|
||||
)
|
||||
Reference in New Issue
Block a user