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 }