[FEATURE] improve server package #210
vtolstov
commented 2023-04-11 23:41:14 +03:00
Owner
- remove NewHandler
- remove NewSubscriber
- change Start()/Stop() error => Start(context.Context)/Stop(context.Context) error
- change Handle(h Handler) error => Handle(h interface{}) error
- change Subscribe(s Subscriber) error => Subscribe(s interface{}) error
- rethink how to deal with String() string and Name() string methods (remove one of them)
* remove NewHandler
* remove NewSubscriber
* change Start()/Stop() error => Start(context.Context)/Stop(context.Context) error
* change Handle(h Handler) error => Handle(h interface{}) error
* change Subscribe(s Subscriber) error => Subscribe(s interface{}) error
* rethink how to deal with String() string and Name() string methods (remove one of them)
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?