From c1c1bb2c4c1baf37dbcce96f144966d4ada65ac5 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 23 Jan 2023 22:30:30 +0100 Subject: Implement cache and logger middlewares for gemini --- src/http/apiutil/apiutil.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/http/apiutil') diff --git a/src/http/apiutil/apiutil.go b/src/http/apiutil/apiutil.go index 1fbadea..c59104c 100644 --- a/src/http/apiutil/apiutil.go +++ b/src/http/apiutil/apiutil.go @@ -16,6 +16,9 @@ import ( "github.com/mediocregopher/mediocre-go-lib/v2/mlog" ) +// TODO I don't think Set/GetRequestLogger are necessary? Seems sufficient to +// just annotate the request's context + type loggerCtxKey int // SetRequestLogger sets the given Logger onto the given Request's Context, -- cgit v1.2.3