File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- curl -X POST http://localhost:3000/cs/<stream>
1
+ curl http://localhost:3000/cs/<stream>
2
2
curl -X POST -d '{"<header>": "<body>","<header>": "<body>"}' -H "Content-Type: application/json" http://localhost:3000/w/<stream>
3
3
curl http://localhost:3000/r/<stream>
4
4
curl http://localhost:3000/ds/<stream>
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var dbClient *client.Client
12
12
var dbName string
13
13
14
14
func main () {
15
- uri := "chrono://admin:D!EO$H2i!MbIuZy8 @127.0.0.1:3141/test11 "
15
+ uri := "chrono://admin:j1GwJOhbiEKBHkKu @127.0.0.1:3141/dev4 "
16
16
var err error
17
17
18
18
dbClient , dbName , err = client .Connect (uri )
@@ -30,7 +30,7 @@ func main() {
30
30
r .GET ("/ds/:stream" , handleDeleteStream )
31
31
32
32
fmt .Println ("Server listening on port 3000" )
33
- err = r .Run (":3002 " )
33
+ err = r .Run (":3000 " )
34
34
if err != nil {
35
35
fmt .Println ("Error starting server:" , err )
36
36
}
You can’t perform that action at this time.
0 commit comments