File: context.go

package info (click to toggle)
mirrorbits 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 984 kB
  • sloc: sh: 675; makefile: 93
file content (16 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2014-2019 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
	// ContextMirrorName is the key for the variable: MirrorName
	ContextMirrorName
)