sing-box/experimental/clashapi/ctxkeys.go

15 lines
316 B
Go
Raw Permalink Normal View History

2022-07-19 14:16:49 +00:00
package clashapi
var (
CtxKeyProxyName = contextKey("proxy name")
CtxKeyProviderName = contextKey("provider name")
CtxKeyProxy = contextKey("proxy")
CtxKeyProvider = contextKey("provider")
)
type contextKey string
func (c contextKey) String() string {
return "clash context key " + string(c)
}