This commit is contained in:
crusader 2017-09-27 16:10:29 +09:00
parent efdb4f8699
commit e69682ca44
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@ package overflow_subscriber
type SubscriberHandler interface {
GetChannel() string
OnSubscribe(payload string)
OnSubscribe(channel string, payload string)
}

View File

@ -7,5 +7,5 @@ type SubscriberHandlers struct {
func (h *SubscriberHandlers) GetChannel() string {
return h.Channel
}
func (h *SubscriberHandlers) OnSubscribe(payload string) {
func (h *SubscriberHandlers) OnSubscribe(channel string, payload string) {
}