File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -208,32 +208,6 @@ type lineSenderConfig struct {
208
208
autoFlushInterval time.Duration
209
209
}
210
210
211
- func newLineSenderConfig (t senderType ) * lineSenderConfig {
212
- switch t {
213
- case tcpSenderType :
214
- return & lineSenderConfig {
215
- senderType : t ,
216
- address : defaultTcpAddress ,
217
- initBufSize : defaultInitBufferSize ,
218
- fileNameLimit : defaultFileNameLimit ,
219
- }
220
- default :
221
- return & lineSenderConfig {
222
- senderType : t ,
223
- address : defaultHttpAddress ,
224
- requestTimeout : defaultRequestTimeout ,
225
- retryTimeout : defaultRetryTimeout ,
226
- minThroughput : defaultMinThroughput ,
227
- autoFlushRows : defaultAutoFlushRows ,
228
- autoFlushInterval : defaultAutoFlushInterval ,
229
- initBufSize : defaultInitBufferSize ,
230
- maxBufSize : defaultMaxBufferSize ,
231
- fileNameLimit : defaultFileNameLimit ,
232
- }
233
- }
234
-
235
- }
236
-
237
211
// LineSenderOption defines line sender config option.
238
212
type LineSenderOption func (* lineSenderConfig )
239
213
You can’t perform that action at this time.
0 commit comments