Permalink
Please sign in to comment.
Showing
with
445 additions
and 301 deletions.
- +3 −3 cli/commands.go
- +4 −1 config/config.go
- +1 −0 core/banner.go
- +14 −0 core/context.go
- +1 −0 core/flags.go
- +10 −9 daemon/cluster.go
- +10 −10 daemon/cluster_test.go
- +73 −72 daemon/monitor.go
- +15 −10 database/pubsub.go
- +18 −5 database/redis.go
- +1 −0 filesystem/fs.go
- +1 −1 filesystem/hash.go
- +24 −14 http/http.go
- +16 −8 http/pagerenderer.go
- +2 −1 http/selection.go
- +14 −11 http/stats.go
- +3 −1 logs/logs.go
- +24 −24 mirrors/cache_test.go
- +20 −7 mirrors/lru.go
- +25 −6 mirrors/mirrors.go
- +31 −31 mirrors/mirrors_test.go
- +13 −5 network/clusterlock.go
- +10 −6 network/geoip.go
- +5 −5 network/utils.go
- +3 −3 network/utils_test.go
- +10 −10 process/process.go
- +8 −6 scan/ftp.go
- +6 −4 scan/rsync.go
- +14 −5 scan/scan.go
- +8 −1 scan/trace.go
- +5 −4 testing/redis.go
- +21 −6 utils/utils.go
- +32 −32 utils/utils_test.go
| @@ -0,0 +1,14 @@ | ||
| +// Copyright (c) 2014-2017 Ludovic Fauvet | ||
| +// Licensed under the MIT license | ||
| + | ||
| +package core | ||
| + | ||
| +// ContextKey reprensents a context key associated with a value | ||
| +type ContextKey int | ||
| + | ||
| +const ( | ||
| + // ContextAllowRedirects is the key for option: AllowRedirects | ||
| + ContextAllowRedirects ContextKey = iota | ||
| + // ContextMirrorID is the key for the variable: MirrorID | ||
| + ContextMirrorID | ||
| +) |
Oops, something went wrong.
0 comments on commit
3ca0fc2