6
6
| |
7
7
| hprose.go |
8
8
| |
9
- | LastModified: Mar 6 , 2022 |
9
+ | LastModified: Mar 7 , 2022 |
10
10
| Author: Ma Bingyao <[email protected] > |
11
11
| |
12
12
\*________________________________________________________*/
@@ -99,43 +99,54 @@ type (
99
99
100
100
const (
101
101
// Serialize Type.
102
- TagInteger byte = io .TagInteger
103
- TagLong byte = io .TagLong
104
- TagDouble byte = io .TagDouble
105
- TagNull byte = io .TagNull
106
- TagEmpty byte = io .TagEmpty
107
- TagTrue byte = io .TagTrue
108
- TagFalse byte = io .TagFalse
109
- TagNaN byte = io .TagNaN
110
- TagInfinity byte = io .TagInfinity
111
- TagDate byte = io .TagDate
112
- TagTime byte = io .TagTime
113
- TagUTC byte = io .TagUTC
114
- TagBytes byte = io .TagBytes
115
- TagUTF8Char byte = io .TagUTF8Char
116
- TagString byte = io .TagString
117
- TagGUID byte = io .TagGUID
118
- TagList byte = io .TagList
119
- TagMap byte = io .TagMap
120
- TagClass byte = io .TagClass
121
- TagObject byte = io .TagObject
122
- TagRef byte = io .TagRef
102
+ TagInteger = io .TagInteger
103
+ TagLong = io .TagLong
104
+ TagDouble = io .TagDouble
105
+ TagNull = io .TagNull
106
+ TagEmpty = io .TagEmpty
107
+ TagTrue = io .TagTrue
108
+ TagFalse = io .TagFalse
109
+ TagNaN = io .TagNaN
110
+ TagInfinity = io .TagInfinity
111
+ TagDate = io .TagDate
112
+ TagTime = io .TagTime
113
+ TagUTC = io .TagUTC
114
+ TagBytes = io .TagBytes
115
+ TagUTF8Char = io .TagUTF8Char
116
+ TagString = io .TagString
117
+ TagGUID = io .TagGUID
118
+ TagList = io .TagList
119
+ TagMap = io .TagMap
120
+ TagClass = io .TagClass
121
+ TagObject = io .TagObject
122
+ TagRef = io .TagRef
123
123
124
124
// Serialize Marks.
125
- TagPos byte = io .TagPos
126
- TagNeg byte = io .TagNeg
127
- TagSemicolon byte = io .TagSemicolon
128
- TagOpenbrace byte = io .TagOpenbrace
129
- TagClosebrace byte = io .TagClosebrace
130
- TagQuote byte = io .TagQuote
131
- TagPoint byte = io .TagPoint
125
+ TagPos = io .TagPos
126
+ TagNeg = io .TagNeg
127
+ TagSemicolon = io .TagSemicolon
128
+ TagOpenbrace = io .TagOpenbrace
129
+ TagClosebrace = io .TagClosebrace
130
+ TagQuote = io .TagQuote
131
+ TagPoint = io .TagPoint
132
132
133
133
// Protocol Tags.
134
- TagHeader byte = io .TagHeader
135
- TagCall byte = io .TagCall
136
- TagResult byte = io .TagResult
137
- TagError byte = io .TagError
138
- TagEnd byte = io .TagEnd
134
+ TagHeader = io .TagHeader
135
+ TagCall = io .TagCall
136
+ TagResult = io .TagResult
137
+ TagError = io .TagError
138
+ TagEnd = io .TagEnd
139
+
140
+ LongTypeInt = io .LongTypeInt
141
+ LongTypeUint = io .LongTypeUint
142
+ LongTypeInt64 = io .LongTypeInt64
143
+ LongTypeUint64 = io .LongTypeUint64
144
+ LongTypeBigInt = io .LongTypeBigInt
145
+ RealTypeFloat64 = io .RealTypeFloat64
146
+ RealTypeFloat32 = io .RealTypeFloat32
147
+ RealTypeBigFloat = io .RealTypeBigFloat
148
+ MapTypeIIMap = io .MapTypeIIMap
149
+ MapTypeSIMap = io .MapTypeSIMap
139
150
140
151
NoCookieManager = cookie .NoCookieManager
141
152
GlobalCookieManager = cookie .GlobalCookieManager
@@ -159,6 +170,10 @@ var (
159
170
NewEncoder = io .NewEncoder
160
171
GetValueDecoder = io .GetValueDecoder
161
172
GetValueEncoder = io .GetValueEncoder
173
+ GetEncoder = io .GetEncoder
174
+ FreeEncoder = io .FreeEncoder
175
+ GetDecoder = io .GetDecoder
176
+ FreeDecoder = io .FreeDecoder
162
177
163
178
ErrClosed = rpc .ErrClosed
164
179
ErrRequestEntityTooLarge = rpc .ErrRequestEntityTooLarge
@@ -187,6 +202,7 @@ var (
187
202
NewClient = rpc .NewClient
188
203
NewService = rpc .NewService
189
204
HTTPTransport = rpc .HTTPTransport
205
+ FastHTTPTransport = rpc .FastHTTPTransport
190
206
SocketTransport = rpc .SocketTransport
191
207
UDPTransport = rpc .UDPTransport
192
208
WebSocketTransport = rpc .WebSocketTransport
0 commit comments