ctxkeys.go 316 B

1234567891011121314
  1. package clashapi
  2. var (
  3. CtxKeyProxyName = contextKey("proxy name")
  4. CtxKeyProviderName = contextKey("provider name")
  5. CtxKeyProxy = contextKey("proxy")
  6. CtxKeyProvider = contextKey("provider")
  7. )
  8. type contextKey string
  9. func (c contextKey) String() string {
  10. return "clash context key " + string(c)
  11. }