ing
This commit is contained in:
parent
efdb4f8699
commit
e69682ca44
|
@ -2,5 +2,5 @@ package overflow_subscriber
|
||||||
|
|
||||||
type SubscriberHandler interface {
|
type SubscriberHandler interface {
|
||||||
GetChannel() string
|
GetChannel() string
|
||||||
OnSubscribe(payload string)
|
OnSubscribe(channel string, payload string)
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,5 @@ type SubscriberHandlers struct {
|
||||||
func (h *SubscriberHandlers) GetChannel() string {
|
func (h *SubscriberHandlers) GetChannel() string {
|
||||||
return h.Channel
|
return h.Channel
|
||||||
}
|
}
|
||||||
func (h *SubscriberHandlers) OnSubscribe(payload string) {
|
func (h *SubscriberHandlers) OnSubscribe(channel string, payload string) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user