mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 12:31:31 +00:00
15 lines
316 B
Go
15 lines
316 B
Go
|
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)
|
||
|
}
|