File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ func main() {
1212 ctx := context .TODO ()
1313 sender , err := qdb .NewLineSender (
1414 ctx ,
15+ qdb .WithTcp (),
1516 qdb .WithAddress ("localhost:9009" ),
1617 qdb .WithAuth (
1718 "testUser1" , // token name here
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ func main() {
1212 ctx := context .TODO ()
1313 sender , err := qdb .NewLineSender (
1414 ctx ,
15+ qdb .WithTcp (),
1516 qdb .WithAddress ("localhost:9009" ),
1617 qdb .WithAuth (
1718 "testUser1" , // token name here
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111func main () {
1212 ctx := context .TODO ()
1313 // Connect to QuestDB running on 127.0.0.1:9009
14- sender , err := qdb .NewLineSender (ctx )
14+ sender , err := qdb .NewLineSender (ctx , qdb . WithTcp () )
1515 if err != nil {
1616 log .Fatal (err )
1717 }
You can’t perform that action at this time.
0 commit comments