Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置文件格式在哪里学习? #988

Open
bonuschild opened this issue Oct 13, 2023 · 2 comments
Open

配置文件格式在哪里学习? #988

bonuschild opened this issue Oct 13, 2023 · 2 comments

Comments

@bonuschild
Copy link

bonuschild commented Oct 13, 2023

首先是仓库有两个:https://github.com/ginuerzh/gost/https://github.com/go-gost/gost

  • 后者里的文档关于配置是YAML和JSON
  • 前者仓库的代码和issue中发现只能用JSON,且格式较大不一致,学习比较混乱。

请问作者能否指条道路,本仓库的gost要以配置文件方式启动的话,要怎么写呢?

以下是使用错误的配置文件的报错:
image

@zhu0629
Copy link

zhu0629 commented Oct 14, 2023

v3支持命令行, yaml和json, 看这里 https://latest.gost.run/getting-started/configuration-overview/

@bonuschild
Copy link
Author

bonuschild commented Oct 14, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants