edit args default value

pull/1/head
Benyamin Azarkhazin 2023-08-24 18:06:04 +03:30
parent cc178b1ebd
commit faef0f2962
Signed by: benyamin
GPG Key ID: 3AE44F5623C70269
1 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,10 @@ import (
) )
func main() { func main() {
svcAddr := flag.String("svc-addr", "", "service baseurl to register in logjam ( shoudln't end with / )") svcAddr := flag.String("svc-addr", "http://localhost:8080", "service baseurl to register in logjam ( shouldn't end with / )")
src := flag.String("src", ":8080", "listenhost:listenPort") src := flag.String("src", ":8080", "listenHost:listenPort")
logjamBaseUrl := flag.String("logjam-base-url", "https://example.com", "logjam base url(shouldn't end with /)") logjamBaseUrl := flag.String("logjam-base-url", "http://localhost:8090", "logjam base url( shouldn't end with / )")
targetRoom := flag.String("targetRoom", "testyroom", "target room") targetRoom := flag.String("targetRoom", "test", "target room")
flag.Parse() flag.Parse()