18 lines
291 B
Go
Raw Normal View History

2025-07-20 00:47:03 +02:00
package main
import (
"github.com/DariusKlein/kleinCommand/common"
2025-07-20 16:22:46 +02:00
"github.com/DariusKlein/kleinCommand/services"
2025-07-20 00:47:03 +02:00
)
var socketPath = common.ExampleServiceSocketPath
func main() {
2025-07-20 16:22:46 +02:00
services.BaseService(socketPath, func(command string) {
switch command {
case "example\n":
2025-07-20 00:47:03 +02:00
}
2025-07-20 16:22:46 +02:00
})
2025-07-20 00:47:03 +02:00
}