1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-06-06 23:16:18 +02:00

33 lines
567 B
Go
Raw Normal View History

2022-01-23 09:36:24 +02:00
package chproto
const (
ClientHello = 0
ClientQuery = 1
ClientData = 2
ClientCancel = 3
ClientPing = 4
ClientTablesStatus = 5
ClientKeepAlive = 6
)
const (
ServerHello = 0
ServerData = 1
ServerException = 2
ServerProgress = 3
ServerPong = 4
ServerEndOfStream = 5
ServerProfileInfo = 6
ServerTotals = 7
ServerExtremes = 8
ServerTablesStatus = 9
ServerLog = 10
ServerTableColumns = 11
)
const (
QueryNo = 0
QueryInitial = 1
QuerySecondary = 2
)