clash/hub/route/ctxkeys.go

15 lines
313 B
Go
Raw Normal View History

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