msg_handler.go 397 B

123456789101112131415161718
  1. package bridge
  2. import (
  3. "dashoo.cn/common_definition/comm_def"
  4. "dashoo.cn/opms_libary/plugin/dingtalk/context"
  5. "github.com/smallnest/rpcx/protocol"
  6. )
  7. //DingTalkHandler struct
  8. type DingTalkHandler struct {
  9. *context.Context
  10. }
  11. //Handle 处理微信的请求消息
  12. func (h *DingTalkHandler) Handle(ctx context.Context, msg protocol.Message, commonMsg comm_def.CommonMsg) error {
  13. return nil
  14. }