codeskyblue / gosuv

Deprecated!!! Process managerment writtern by golang, inspired by python-supervisor
MIT License
644 stars 180 forks source link

请教一下配置文件的用法 #19

Open recall704 opened 7 years ago

recall704 commented 7 years ago

你好,我在使用的时候对这个配置文件非常困惑, 请问下 server_url 是什么意思?

server:
  httpauth:
    enabled: false
    username: uu
    password: pp
  addr: :11313
client:
  server_url: http://localhost:11313

Thank you, have a good day!

codeskyblue commented 7 years ago

也就是

server:
  addr: :11313

这个地址,gosuv实际上是分为客户端和服务端的,虽然都是同一个程序

zhangjianpinghik commented 6 years ago

@codeskyblue 有没有完整的配置文件的可用参数及较为复杂的例子?