ctxkeys.go 314 B

1234567891011121314
  1. package route
  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 "mihomo context key " + string(c)
  11. }