Initial commit with project setup and basic structure established.

This commit is contained in:
2026-08-18 16:40:50 +03:00
parent 2683425562
commit f0515d7342
12 changed files with 884 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
// Local Management Agent is a Windows-only, local network management helper.
//
// Build for Windows x64:
//
// GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o localagent.exe .
//
// The binary is a normal console application. A CMD window appears on launch
// and prints the listen address. Press Ctrl+C to stop.
package main
import (
"tea.chunkbyte.com/kato/go-worm/lib/agent"
"tea.chunkbyte.com/kato/go-worm/lib/helpers"
)
func main() {
a, err := agent.New()
if err != nil {
helpers.Log.Fatalf("%v", err)
}
defer a.Close()
if err := a.Serve(); err != nil {
helpers.Log.Fatalf("%v", err)
}
}