mirror of https://github.com/VinGarcia/ksql.git
parent
660904718b
commit
d229767d98
4
ksql.go
4
ksql.go
|
@ -2,6 +2,7 @@ package ksql
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"crypto/tls"
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -73,6 +74,9 @@ type Tx interface {
|
||||||
type Config struct {
|
type Config struct {
|
||||||
// MaxOpenCons defaults to 1 if not set
|
// MaxOpenCons defaults to 1 if not set
|
||||||
MaxOpenConns int
|
MaxOpenConns int
|
||||||
|
|
||||||
|
// Used by some adapters (such as kpgx) where nil disables TLS
|
||||||
|
TLSConfig *tls.Config
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetDefaultValues should be called by all adapters
|
// SetDefaultValues should be called by all adapters
|
||||||
|
|
Loading…
Reference in New Issue