forked from basho/riak-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
messages.go
59 lines (58 loc) · 2.28 KB
/
messages.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package riak
// Convert from csv with:
// %s/\(\d\+\),\([^,]\+\),.*/const rpbCode_\2 byte = \1/
const rpbCode_RpbErrorResp byte = 0
const rpbCode_RpbPingReq byte = 1
const rpbCode_RpbPingResp byte = 2
const rpbCode_RpbGetClientIdReq byte = 3
const rpbCode_RpbGetClientIdResp byte = 4
const rpbCode_RpbSetClientIdReq byte = 5
const rpbCode_RpbSetClientIdResp byte = 6
const rpbCode_RpbGetServerInfoReq byte = 7
const rpbCode_RpbGetServerInfoResp byte = 8
const rpbCode_RpbGetReq byte = 9
const rpbCode_RpbGetResp byte = 10
const rpbCode_RpbPutReq byte = 11
const rpbCode_RpbPutResp byte = 12
const rpbCode_RpbDelReq byte = 13
const rpbCode_RpbDelResp byte = 14
const rpbCode_RpbListBucketsReq byte = 15
const rpbCode_RpbListBucketsResp byte = 16
const rpbCode_RpbListKeysReq byte = 17
const rpbCode_RpbListKeysResp byte = 18
const rpbCode_RpbGetBucketReq byte = 19
const rpbCode_RpbGetBucketResp byte = 20
const rpbCode_RpbSetBucketReq byte = 21
const rpbCode_RpbSetBucketResp byte = 22
const rpbCode_RpbMapRedReq byte = 23
const rpbCode_RpbMapRedResp byte = 24
const rpbCode_RpbIndexReq byte = 25
const rpbCode_RpbIndexResp byte = 26
const rpbCode_RpbSearchQueryReq byte = 27
const rpbCode_RpbSearchQueryResp byte = 28
const rpbCode_RpbResetBucketReq byte = 29
const rpbCode_RpbResetBucketResp byte = 30
const rpbCode_RpbGetBucketTypeReq byte = 31
const rpbCode_RpbSetBucketTypeReq byte = 32
const rpbCode_RpbGetBucketKeyPreflistReq byte = 33
const rpbCode_RpbGetBucketKeyPreflistResp byte = 34
const rpbCode_RpbCSBucketReq byte = 40
const rpbCode_RpbCSBucketResp byte = 41
const rpbCode_RpbCounterUpdateReq byte = 50
const rpbCode_RpbCounterUpdateResp byte = 51
const rpbCode_RpbCounterGetReq byte = 52
const rpbCode_RpbCounterGetResp byte = 53
const rpbCode_RpbYokozunaIndexGetReq byte = 54
const rpbCode_RpbYokozunaIndexGetResp byte = 55
const rpbCode_RpbYokozunaIndexPutReq byte = 56
const rpbCode_RpbYokozunaIndexDeleteReq byte = 57
const rpbCode_RpbYokozunaSchemaGetReq byte = 58
const rpbCode_RpbYokozunaSchemaGetResp byte = 59
const rpbCode_RpbYokozunaSchemaPutReq byte = 60
const rpbCode_DtFetchReq byte = 80
const rpbCode_DtFetchResp byte = 81
const rpbCode_DtUpdateReq byte = 82
const rpbCode_DtUpdateResp byte = 83
const rpbCode_RpbAuthReq byte = 253
const rpbCode_RpbAuthResp byte = 254
const rpbCode_RpbStartTls byte = 255