Add pub/sub to client/server and make broker more low level
This commit is contained in:
@@ -9,3 +9,9 @@ type Handler interface {
|
||||
Handler() interface{}
|
||||
Endpoints() []*registry.Endpoint
|
||||
}
|
||||
|
||||
type Subscriber interface {
|
||||
Topic() string
|
||||
Subscriber() interface{}
|
||||
Endpoints() []*registry.Endpoint
|
||||
}
|
||||
|
Reference in New Issue
Block a user