From 2c282825ce223ad04cce344426159974bce2ac26 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Thu, 29 Feb 2024 23:17:36 +0300 Subject: [PATCH] fixup Signed-off-by: Vasiliy Tolstov --- server/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/options.go b/server/options.go index 32a5f60d..e6754992 100644 --- a/server/options.go +++ b/server/options.go @@ -325,7 +325,7 @@ func Listener(l net.Listener) Option { type HandlerOption func(*HandlerOptions) // GracefulTimeout duration -func GracefulTimeout(td time.Duration) options.Option { +func GracefulTimeout(td time.Duration) Option { return func(o *Options) { o.GracefulTimeout = td }