MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / getConfig

Function getConfig

client/session.go:1401–1413  ·  view source on GitHub ↗
(host string, port string, userName string, passWord string, fetchSize int32, timeZone string, connectRetryMax int, database string, sqlDialect string)

Source from the content-addressed store, hash-verified

1399}
1400
1401func getConfig(host string, port string, userName string, passWord string, fetchSize int32, timeZone string, connectRetryMax int, database string, sqlDialect string) *Config {
1402 return &Config{
1403 Host: host,
1404 Port: port,
1405 UserName: userName,
1406 Password: passWord,
1407 FetchSize: fetchSize,
1408 TimeZone: timeZone,
1409 ConnectRetryMax: connectRetryMax,
1410 sqlDialect: sqlDialect,
1411 Database: database,
1412 }
1413}
1414
1415func (s *Session) reconnect() bool {
1416 var err error

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…