Apply .gitignore rules

This commit is contained in:
皮蛋13361098506
2025-01-06 16:21:36 +08:00
parent 1b77f62820
commit ccd2c530cf
580 changed files with 69806 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package ensureSendUtil
type EnsureSender interface {
// use Write to send data
Write(string) error
// stop sender
Close() error
}
// resend和dataSaver通过此接口调用tcpSender与httpSender
type sender interface {
// 发送数据
Send(dataItem) error
// 返回待发送的数据channel
Data() <-chan dataItem
// 返回失败数据缓存channel
Cache() chan dataItem
// 用于判断是否关闭
Done() <-chan struct{}
}