add doc strings to Options fields

This commit is contained in:
ajatprabha 2021-10-05 11:44:22 +05:30 committed by Ken Hibino
parent 0cbec9318f
commit b20cf02f3b

View File

@ -12,7 +12,9 @@ import (
// Options can be used to customise HTTPHandler. // Options can be used to customise HTTPHandler.
type Options struct { type Options struct {
// RedisConnOpt is a discriminated union of types that represent Redis connection configuration option.
RedisConnOpt asynq.RedisConnOpt RedisConnOpt asynq.RedisConnOpt
// PayloadFormatter can be used to convert payload bytes to string to show in web UI.
PayloadFormatter PayloadFormatter PayloadFormatter PayloadFormatter
} }