Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // WriteChan 写数据包管道 WriteChan chan DataPack // ReceiveChan 接收数据包管道 ReceiveChan chan DataPack )
Functions ¶
Types ¶
type DataPack ¶
type DataPack struct { Id int64 `json:"Id"` Tid int64 `json:"Tid"` Size int64 `json:"Size"` Total int64 `json:"Total"` Data []byte `json:"Data"` IsEOF bool `json:"is_eof"` ReBack bool `json:"re_back"` }
DataPack 数据包
func NewDataPack ¶
NewDataPack 初始化数据包
type PlateTransmit ¶
PlateTransmit 剪切板传输核心接口
Click to show internal directories.
Click to hide internal directories.