mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
chore: fix godoc comment
This commit is contained in:
@@ -174,7 +174,7 @@ type Config struct {
|
|||||||
// })
|
// })
|
||||||
//
|
//
|
||||||
// ErrorHandler: asynq.ErrorHandlerFunc(reportError)
|
// ErrorHandler: asynq.ErrorHandlerFunc(reportError)
|
||||||
|
//
|
||||||
// we can also handle panic error like:
|
// we can also handle panic error like:
|
||||||
// func reportError(ctx context, task *asynq.Task, err error) {
|
// func reportError(ctx context, task *asynq.Task, err error) {
|
||||||
// if asynq.IsPanic(err) {
|
// if asynq.IsPanic(err) {
|
||||||
@@ -183,7 +183,6 @@ type Config struct {
|
|||||||
// })
|
// })
|
||||||
//
|
//
|
||||||
// ErrorHandler: asynq.ErrorHandlerFunc(reportError)
|
// ErrorHandler: asynq.ErrorHandlerFunc(reportError)
|
||||||
|
|
||||||
ErrorHandler ErrorHandler
|
ErrorHandler ErrorHandler
|
||||||
|
|
||||||
// Logger specifies the logger used by the server instance.
|
// Logger specifies the logger used by the server instance.
|
||||||
|
Reference in New Issue
Block a user