diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2023-01-23 22:30:30 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2023-01-23 22:31:19 +0100 |
commit | c1c1bb2c4c1baf37dbcce96f144966d4ada65ac5 (patch) | |
tree | c69d7bf531734f6435c2e3e8edd2e3ae50c2f5e8 /src/http/apiutil | |
parent | 024f51488614919240a71cae1cae1c8fe6df1229 (diff) |
Implement cache and logger middlewares for gemini
Diffstat (limited to 'src/http/apiutil')
-rw-r--r-- | src/http/apiutil/apiutil.go | 3 |
1 files changed, 3 insertions, 0 deletions
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, |