diff options
Diffstat (limited to 'types.go')
-rw-r--r-- | types.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/types.go b/types.go index 8a707bd..b5f27ce 100644 --- a/types.go +++ b/types.go @@ -22,3 +22,8 @@ type Instance struct { Mail string Desc string } + +// ipCtxKey is the Context value key for user IP addresses +type ipCtxKey int + +const ctxKey ipCtxKey = iota |