core/context.go
raw| 1 | // Copyright (c) 2014-2019 Ludovic Fauvet |
| 2 | // Licensed under the MIT license |
| 3 | |
| 4 | package core |
| 5 | |
| 6 | // ContextKey reprensents a context key associated with a value |
| 7 | type ContextKey int |
| 8 | |
| 9 | const ( |
| 10 | // ContextAllowRedirects is the key for option: AllowRedirects |
| 11 | ContextAllowRedirects ContextKey = iota |
| 12 | // ContextMirrorID is the key for the variable: MirrorID |
| 13 | ContextMirrorID |
| 14 | // ContextMirrorName is the key for the variable: MirrorName |
| 15 | ContextMirrorName |
| 16 | ) |