crusader 192344a034 ing
2017-08-29 17:58:37 +09:00

11 lines
210 B
Go

package notification
type (
OnSubscribeFunc func(channel string, payload string)
)
type Notifier interface {
Subscribe(channel string, cb OnSubscribeFunc)
Unsubscribe(channel string, cb OnSubscribeFunc)
}