github.com/metacubex/mihomo@v1.18.5/hub/route/ctxkeys.go (about)

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