2024-06-26 18:15:34 +08:00
|
|
|
// Package define ...
|
|
|
|
//
|
|
|
|
// Description : define ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 2024-06-26 17:21
|
|
|
|
package define
|
|
|
|
|
2024-06-27 11:50:13 +08:00
|
|
|
import "context"
|
|
|
|
|
2024-06-26 18:15:34 +08:00
|
|
|
// DefaultSuccessCallbackHandler ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 17:21 2024/6/26
|
|
|
|
func DefaultSuccessCallbackHandler(eventData *EventData, handleResult map[string]any) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// DefaultFailCallbackHandler ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 18:11 2024/6/26
|
|
|
|
func DefaultFailCallbackHandler(eventData *EventData, handleResult map[string]any, err error) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// DefaultPanicCallback ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 18:11 2024/6/26
|
|
|
|
func DefaultPanicCallback(err any, eventData *EventData, handleResult map[string]any) {}
|
2024-06-27 11:50:13 +08:00
|
|
|
|
|
|
|
// DefaultSendFailCallback ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 11:45 2024/6/27
|
|
|
|
func DefaultSendFailCallback(ctx context.Context, eventData *EventData, eventResult *SendResult, err error) {
|
|
|
|
}
|
|
|
|
|
|
|
|
// DefaultSendSuccessCallback ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 11:46 2024/6/27
|
|
|
|
func DefaultSendSuccessCallback(ctx context.Context, eventResult *SendResult) {}
|
2024-06-27 18:52:20 +08:00
|
|
|
|
|
|
|
// DefaultParseFailCallbackFunc ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 18:49 2024/6/27
|
|
|
|
func DefaultParseFailCallbackFunc(err error, eventData string) {
|
|
|
|
|
|
|
|
}
|