summaryrefslogtreecommitdiff
path: root/internal/server/background/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/background/commands.go')
-rw-r--r--internal/server/background/commands.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/internal/server/background/commands.go b/internal/server/background/commands.go
deleted file mode 100644
index f789150..0000000
--- a/internal/server/background/commands.go
+++ /dev/null
@@ -1,28 +0,0 @@
-package background
-
-import (
- "context"
- "sync"
-)
-
-type command struct {
- cancel context.CancelFunc
- done chan struct{}
-}
-
-type Commands struct {
- mutex sync.Mutex
- commands map[string]command
-}
-
-func NewCommands() *Commands {
- return &Commands{
- commands: make(map[string]command),
- }
-}
-
-func (b Commands) Add(argc int, args []string, cancel context.CancelFunc, done <-chan struct{}) {
-}
-
-func (h Commands) Stop(argc int, args []string) {
-}