Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram. If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

go.mod 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. module github.com/9seconds/mtg/v2
  2. go 1.26
  3. require (
  4. github.com/OneOfOne/xxhash v1.2.8
  5. github.com/alecthomas/kong v1.14.0
  6. github.com/alecthomas/units v0.0.0-20240927000941-0f3dac36c52b
  7. github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5
  8. github.com/babolivier/go-doh-client v0.0.0-20201028162107-a76cff4cb8b6
  9. github.com/d4l3k/messagediff v1.2.1 // indirect
  10. github.com/jarcoal/httpmock v1.0.8
  11. github.com/mccutchen/go-httpbin v1.1.1
  12. github.com/panjf2000/ants/v2 v2.11.5
  13. github.com/prometheus/client_golang v1.23.2
  14. github.com/prometheus/common v0.67.5 // indirect
  15. github.com/prometheus/procfs v0.20.0 // indirect
  16. github.com/rs/zerolog v1.34.0
  17. github.com/smira/go-statsd v1.3.4
  18. github.com/stretchr/objx v0.5.2 // indirect
  19. github.com/stretchr/testify v1.11.1
  20. github.com/tylertreat/BoomFilters v0.0.0-20251117164519-53813c36cc1b
  21. golang.org/x/crypto v0.48.0
  22. golang.org/x/net v0.49.0 // indirect
  23. golang.org/x/sys v0.41.0
  24. google.golang.org/protobuf v1.36.11 // indirect
  25. )
  26. require (
  27. github.com/pelletier/go-toml/v2 v2.2.4
  28. github.com/pires/go-proxyproto v0.11.0
  29. github.com/txthinking/socks5 v0.0.0-20251011041537-5c31f201a10e
  30. github.com/yl2chen/cidranger v1.0.2
  31. )
  32. require (
  33. github.com/beorn7/perks v1.0.1 // indirect
  34. github.com/cespare/xxhash/v2 v2.3.0 // indirect
  35. github.com/davecgh/go-spew v1.1.1 // indirect
  36. github.com/klauspost/compress v1.18.3 // indirect
  37. github.com/kr/text v0.2.0 // indirect
  38. github.com/mattn/go-colorable v0.1.14 // indirect
  39. github.com/mattn/go-isatty v0.0.20 // indirect
  40. github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
  41. github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
  42. github.com/pmezard/go-difflib v1.0.0 // indirect
  43. github.com/prometheus/client_model v0.6.2 // indirect
  44. github.com/rogpeppe/go-internal v1.14.1 // indirect
  45. github.com/things-go/go-socks5 v0.1.0 // indirect
  46. github.com/txthinking/runnergroup v0.0.0-20250224021307-5864ffeb65ae // indirect
  47. go.yaml.in/yaml/v2 v2.4.3 // indirect
  48. golang.org/x/sync v0.19.0 // indirect
  49. golang.org/x/tools v0.41.0 // indirect
  50. gopkg.in/yaml.v3 v3.0.1 // indirect
  51. )