github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/experimental/clashapi/ctxkeys.go (about) 1 package clashapi 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 }