publisher added

This commit is contained in:
nquidox 2026-02-20 16:05:12 +03:00
parent 6addcca08d
commit 9366cbbf6d
2 changed files with 44 additions and 0 deletions

View file

@ -70,3 +70,7 @@ func StartConsumer(ctx context.Context, client *Client, chanLen int) chan []byte
return msgCh
}
func NewPublisher(client *Client) Publisher {
return &PubHandler{client: client}
}