mihomo/hub/route/ctxkeys.go
2023-11-03 21:58:21 +08:00

14 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)
}