github.com/sagernet/sing-box@v1.2.7/constant/proxy.go (about)

     1  package constant
     2  
     3  const (
     4  	TypeTun          = "tun"
     5  	TypeRedirect     = "redirect"
     6  	TypeTProxy       = "tproxy"
     7  	TypeDirect       = "direct"
     8  	TypeBlock        = "block"
     9  	TypeDNS          = "dns"
    10  	TypeSocks        = "socks"
    11  	TypeHTTP         = "http"
    12  	TypeMixed        = "mixed"
    13  	TypeShadowsocks  = "shadowsocks"
    14  	TypeVMess        = "vmess"
    15  	TypeTrojan       = "trojan"
    16  	TypeNaive        = "naive"
    17  	TypeWireGuard    = "wireguard"
    18  	TypeHysteria     = "hysteria"
    19  	TypeTor          = "tor"
    20  	TypeSSH          = "ssh"
    21  	TypeShadowTLS    = "shadowtls"
    22  	TypeShadowsocksR = "shadowsocksr"
    23  	TypeVLESS        = "vless"
    24  )
    25  
    26  const (
    27  	TypeSelector = "selector"
    28  	TypeURLTest  = "urltest"
    29  )