github.com/chwjbn/xclash@v0.2.0/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 "clash context key " + string(c) 14 }