make an OutputModule interface and remove output from modules that don't implement it

This commit is contained in:
Joel Wetzell
2026-03-18 16:24:19 -05:00
parent 3fedb7ac92
commit 2fbca6209e
8 changed files with 15 additions and 28 deletions

View File

@@ -3,7 +3,6 @@ package module
import (
"context"
"errors"
"fmt"
"log/slog"
"net"
"time"
@@ -105,10 +104,6 @@ func (pc *PSNClient) Start(ctx context.Context) error {
}
}
func (pc *PSNClient) Output(ctx context.Context, payload any) error {
return fmt.Errorf("psn.client output is not implemented")
}
func (pc *PSNClient) Stop() {
pc.cancel()
}