Skip to content

Commit

Permalink
chore: rm cfg struct
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Oct 3, 2024
1 parent a3c9e6b commit 00e3d72
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"io"
"iter"
"log/slog"
)

type PubSub interface {
Expand All @@ -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
}

0 comments on commit 00e3d72

Please sign in to comment.