// +build !windows,!linux,!darwin package keylogger import ( "context" "fmt" ) // checkLinuxRequirements 检查Linux特定要求(其他平台的空实现) func (p *KeyloggerPlugin) checkLinuxRequirements() error { return fmt.Errorf("不支持的平台") } // checkDarwinRequirements 检查Darwin特定要求(其他平台的空实现) func (p *KeyloggerPlugin) checkDarwinRequirements() error { return fmt.Errorf("不支持的平台") } // startLinuxKeylogging 启动Linux键盘记录(其他平台的空实现) func (p *KeyloggerPlugin) startLinuxKeylogging(ctx context.Context) error { return fmt.Errorf("不支持的平台") } // startDarwinKeylogging 启动Darwin键盘记录(其他平台的空实现) func (p *KeyloggerPlugin) startDarwinKeylogging(ctx context.Context) error { return fmt.Errorf("不支持的平台") }