// Package event ... // // Description : event ... // // Author : go_developer@163.com<白茶清欢> // // Date : 2023-02-02 16:39 package event type DefaultSendEventHandler struct { } func (d *DefaultSendEventHandler) Send(data []byte) (map[string]interface{}, error) { return map[string]interface{}{}, nil } func (d *DefaultSendEventHandler) SuccessCallback(data map[string]interface{}) { } func (d *DefaultSendEventHandler) FailCallback(data map[string]interface{}, err error) { } func (d *DefaultSendEventHandler) NoSendCallback(data interface{}, res SendResult) { }