From b20cf02f3bc7190ac203062d08d0820cdaa75939 Mon Sep 17 00:00:00 2001 From: ajatprabha Date: Tue, 5 Oct 2021 11:44:22 +0530 Subject: [PATCH] add doc strings to Options fields --- handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler.go b/handler.go index e7ceb0f..5985e22 100644 --- a/handler.go +++ b/handler.go @@ -12,7 +12,9 @@ import ( // Options can be used to customise HTTPHandler. type Options struct { + // RedisConnOpt is a discriminated union of types that represent Redis connection configuration option. RedisConnOpt asynq.RedisConnOpt + // PayloadFormatter can be used to convert payload bytes to string to show in web UI. PayloadFormatter PayloadFormatter }