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文字以内のものにしてください。

cli.go 538B

123456789101112
  1. package cli
  2. import "github.com/alecthomas/kong"
  3. type CLI struct {
  4. GenerateSecret GenerateSecret `kong:"cmd,help='Generate new proxy secret'"`
  5. Doctor Doctor `kong:"cmd,help='Check that proxy can run correctly'"`
  6. Access Access `kong:"cmd,help='Print access information.'"`
  7. Run Run `kong:"cmd,help='Run proxy.'"`
  8. SimpleRun SimpleRun `kong:"cmd,help='Run proxy without config file.'"`
  9. Version kong.VersionFlag `kong:"help='Print version.',short='v'"`
  10. }