Permalink
Browse files

fixed the rest & resp description

  • Loading branch information...
alash3al committed Jan 11, 2019
1 parent cdb4ec1 commit da0780aba299c9a5e02f82b6aa1b3b52d20d9d9b
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +2 −2 vars.go
@@ -152,9 +152,9 @@ Usage
-dsn string
the data source name for the selected engine (default "root:root@tcp(127.0.0.1)/test?multiStatements=true")
-resp string
the rest api listen address (default ":3678")
the resp (redis protocol) server listen address (default ":3678")
-rest string
the rest api listen address (default ":8025")
the http restful api listen address (default ":8025")
-workers int
the maximum workers count (default 4)
```
@@ -14,8 +14,8 @@ var (
flagDBDriver = flag.String("driver", "mysql", "the sql driver to be used")
flagDBDSN = flag.String("dsn", "root:root@tcp(127.0.0.1)/test?multiStatements=true", "the data source name for the selected engine")
flagAPIFile = flag.String("config", "./config.example.hcl", "the config file(s) that contains your endpoints configs, it accepts comma seprated list of glob style pattern")
flagRESTListenAddr = flag.String("rest", ":8025", "the rest api listen address")
flagRESPListenAddr = flag.String("resp", ":3678", "the rest api listen address")
flagRESTListenAddr = flag.String("rest", ":8025", "the http restful api listen address")
flagRESPListenAddr = flag.String("resp", ":3678", "the resp (redis protocol) server listen address")
flagWorkers = flag.Int("workers", runtime.NumCPU(), "the maximum workers count")
)

0 comments on commit da0780a

Please sign in to comment.