diff --git a/pubsub.go b/pubsub.go index cb2dcb0..2a6c645 100644 --- a/pubsub.go +++ b/pubsub.go @@ -4,7 +4,6 @@ import ( "context" "io" "iter" - "log/slog" ) type PubSub interface { @@ -16,8 +15,3 @@ type PubSub interface { Sub(ctx context.Context, ID string, rw io.ReadWriter, channels []*Channel, keepAlive bool) error Pub(ctx context.Context, ID string, rw io.ReadWriter, channels []*Channel) error } - -type Cfg struct { - Logger *slog.Logger - PubSub PubSub -}