1
0
mirror of https://github.com/MetaCubeX/mihomo.git synced 2025-09-20 12:35:59 +08:00
Files
mihomo/hub/route/ctxkeys.go

15 lines
313 B
Go
Raw Permalink Normal View History

2018-11-21 13:47:46 +08:00
package route
var (
CtxKeyProxyName = contextKey("proxy name")
CtxKeyProviderName = contextKey("provider name")
CtxKeyProxy = contextKey("proxy")
CtxKeyProvider = contextKey("provider")
2018-11-21 13:47:46 +08:00
)
type contextKey string
func (c contextKey) String() string {
return "clash context key " + string(c)
}