Documentation ¶
Index ¶
Constants ¶
View Source
const (
SendBytes = 1001
)
Variables ¶
This section is empty.
Functions ¶
func GzipSendBuf ¶
func GzipSendBuf(siPtr *SendBufInfo)
Types ¶
type BufList ¶
type BufList struct {
// contains filtered or unexported fields
}
func NewBufListPtr ¶
type BufPool ¶
type BufPool struct {
// contains filtered or unexported fields
}
func NewBufPool ¶
func NewBufPool() BufPool
type SendBufInfo ¶
type SendBufInfo struct { BufPtr *[]byte Size int FiPtr *fs.FileInfo ContentType string GzipEnabled bool Success bool }
func FileReader ¶
func FileReader(pathStr *string) *SendBufInfo
func ReadFileBySteps ¶
func ReadFileBySteps(pathStr *string, beginPos int, endPos int) *SendBufInfo
Click to show internal directories.
Click to hide internal directories.