overflow_discovery/rpc/notify/notify_handlers.go

18 lines
283 B
Go
Raw Normal View History

2017-11-23 09:34:07 +00:00
package notify
import (
"git.loafle.net/commons_go/rpc/notify"
"git.loafle.net/commons_go/rpc/protocol/json"
)
func NewNotifyHandler() NotifyHandler {
nh := &NotifyHandlers{}
nh.Codec = json.NewClientCodec()
return nh
}
type NotifyHandlers struct {
notify.NotifyHandlers
}