mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
15 lines
314 B
Go
15 lines
314 B
Go
package route
|
|
|
|
var (
|
|
CtxKeyProxyName = contextKey("proxy name")
|
|
CtxKeyProviderName = contextKey("provider name")
|
|
CtxKeyProxy = contextKey("proxy")
|
|
CtxKeyProvider = contextKey("provider")
|
|
)
|
|
|
|
type contextKey string
|
|
|
|
func (c contextKey) String() string {
|
|
return "mihomo context key " + string(c)
|
|
}
|