Versions in this module Expand all Collapse all v3 v3.5.2 Nov 30, 2023 v3.3.4 Jun 12, 2023 v3.3.3 Jun 8, 2023 v3.3.2 Jun 8, 2023 Changes in this version + const WSConnect + const WSFetch + const WSFetchBlock + const WSFreeResult + const WSQuery + var NotQueryError = errors.New("sql is an update statement not a query statement") + var ReadTimeoutError = errors.New("read timeout") + type BadConnError struct + func NewBadConnError(err error) *BadConnError + func NewBadConnErrorWithCtx(err error, ctx string) *BadConnError + func (*BadConnError) Unwrap() error + func (e *BadConnError) Error() string + type TDengineDriver struct + func (d TDengineDriver) Open(dsn string) (driver.Conn, error) + type WSAction struct + Action string + Args json.RawMessage + type WSConnectReq struct + DB string + Password string + ReqID uint64 + User string + type WSConnectResp struct + Action string + Code int + Message string + ReqID uint64 + Timing int64 + type WSFetchBlockReq struct + ID uint64 + ReqID uint64 + type WSFetchReq struct + ID uint64 + ReqID uint64 + type WSFetchResp struct + Action string + Code int + Completed bool + ID uint64 + Lengths []int + Message string + ReqID uint64 + Rows int + Timing int64 + type WSFreeResultReq struct + ID uint64 + ReqID uint64 + type WSQueryReq struct + ReqID uint64 + SQL string + type WSQueryResp struct + Action string + AffectedRows int + Code int + FieldsCount int + FieldsLengths []int64 + FieldsNames []string + FieldsTypes []uint8 + ID uint64 + IsUpdate bool + Message string + Precision int + ReqID uint64 + Timing int64