diff --git a/internal/api/router.go b/internal/api/router.go index 08eabff2..0a205ff2 100644 --- a/internal/api/router.go +++ b/internal/api/router.go @@ -19,8 +19,10 @@ type ApiManagerCtx struct { capture types.CaptureManager } +type key int + const ( - keySessionCtx int = iota + keySessionCtx key = iota ) func New(