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
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910
  1. package cli
  2. import "github.com/alecthomas/kong"
  3. type CLI struct {
  4. GenerateSecret GenerateSecret `kong:"cmd,help='Generate new proxy secret'"`
  5. Access Access `kong:"cmd,help='Print access information.'"`
  6. Run Proxy `kong:"cmd,help='Run proxy.'"`
  7. Version kong.VersionFlag `kong:"help='Print version.',short='v'"`
  8. }