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