From e69682ca44650c2d1c78422264f4a6aae9460cf7 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 27 Sep 2017 16:10:29 +0900 Subject: [PATCH] ing --- subscriber_handler.go | 2 +- subscriber_handlers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subscriber_handler.go b/subscriber_handler.go index d1b32b5..0998982 100644 --- a/subscriber_handler.go +++ b/subscriber_handler.go @@ -2,5 +2,5 @@ package overflow_subscriber type SubscriberHandler interface { GetChannel() string - OnSubscribe(payload string) + OnSubscribe(channel string, payload string) } diff --git a/subscriber_handlers.go b/subscriber_handlers.go index 1ea7366..d1a7e7d 100644 --- a/subscriber_handlers.go +++ b/subscriber_handlers.go @@ -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) { }