ahenk-go/plugins/tmptest/main.go
asandikci b4ed8b4af6
plugin feature enhancements
- Added tmptest plugin for temporary testing
- added plugin info to `checkPlugin()` function
- added paramaters to `PluginManager`
2023-08-28 10:42:02 +03:00

30 lines
485 B
Go

package main
import (
"log"
"github.com/zcalusic/sysinfo"
)
type plug string
// exported plugin Symbol
var TmptestConnect plug
func (p plug) TmpTest() {
var si sysinfo.SysInfo
si.GetSysInfo()
log.Println(si)
}
func (p plug) Info() map[string]string {
inf := make(map[string]string)
inf["name"] = "tmptest"
inf["version"] = "0.0.1"
inf["support"] = "debian"
inf["description"] = "Temporary testing"
inf["developer"] = "asandikci@aliberksandikci.com.tr"
return inf
}