small refactor, add available signals to README

This commit is contained in:
2025-08-24 10:33:39 +02:00
parent e6938a9f39
commit c0b9edbfb5
13 changed files with 64 additions and 56 deletions

View File

@@ -2,8 +2,8 @@ package main
import (
"fmt"
"ipc"
"os"
"sockets"
"miniws"
@@ -44,7 +44,7 @@ func main() {
// signal mode
if *signal != "" {
client := sockets.Client{}
client := ipc.Client{}
client.OneShotWrite("unix", miniws.SOCKET_PATH, []byte(*signal))
return
}