package
1.2.0
Repository: https://github.com/zero-yy/go-sdk.git
Documentation: pkg.go.dev

# Functions

初始化 TDAnalytics.
创建 BatchConsumer.
创建指定批量发送条数的 BatchConsumer serverUrl 接收端地址 appId 项目的 APP ID batchSize 批量发送条数.
创建指定压缩形式的 BatchConsumer serverUrl 接收端地址 appId 项目的 APP ID compress 是否压缩数据.
创建 DebugConsumer.
No description provided by the author
创建 LogConsumer.
创建 LogConsumer.

# Constants

数据缓冲区大小, 超过此值时会阻塞.
channel 缓冲区.
No description provided by the author
默认批量发送条数.
默认压缩gzip.
默认超时时长 30 秒.
No description provided by the author
No description provided by the author
最大批量发送条数.
按天切分.
按小时切分.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
数据类型.
立即发送数据.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
数据信息.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Consumer 为数据实现 IO 操作(写入磁盘或者发送到接收端).

# Type aliases

No description provided by the author