[FEATURE] improve server package #210

Open
opened 2023-04-11 23:41:14 +03:00 by vtolstov · 0 comments
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)
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unistack-org/micro#210
No description provided.