github.com/kelleygo/clashcore@v1.0.2/hub/route/ctxkeys.go (about) 1 package route 2 3 var ( 4 CtxKeyProxyName = contextKey("proxy name") 5 CtxKeyProviderName = contextKey("provider name") 6 CtxKeyProxy = contextKey("proxy") 7 CtxKeyProvider = contextKey("provider") 8 ) 9 10 type contextKey string 11 12 func (c contextKey) String() string { 13 return "yiclashcore context key " + string(c) 14 }