Documentation ¶
Index ¶
- type SmartReader
- func (sr *SmartReader) GetLast() int64
- func (sr *SmartReader) GetLimit() int64
- func (sr *SmartReader) GetTotal() int64
- func (sr *SmartReader) Read(p []byte) (n int, err error)
- func (sr *SmartReader) SetLast(last int64) int64
- func (sr *SmartReader) SetLimit(limit int64) int64
- func (sr *SmartReader) SetTotal(total int64) int64
- type SmartWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SmartReader ¶
type SmartReader struct {
// contains filtered or unexported fields
}
func NewSmartReader ¶
func NewSmartReader(reader io.Reader) *SmartReader
func (*SmartReader) GetLast ¶
func (sr *SmartReader) GetLast() int64
func (*SmartReader) GetLimit ¶
func (sr *SmartReader) GetLimit() int64
func (*SmartReader) GetTotal ¶
func (sr *SmartReader) GetTotal() int64
func (*SmartReader) SetLast ¶
func (sr *SmartReader) SetLast(last int64) int64
func (*SmartReader) SetLimit ¶
func (sr *SmartReader) SetLimit(limit int64) int64
func (*SmartReader) SetTotal ¶
func (sr *SmartReader) SetTotal(total int64) int64
type SmartWriter ¶
type SmartWriter struct {
// contains filtered or unexported fields
}
func NewSmartWriter ¶
func NewSmartWriter(writer io.Writer) *SmartWriter
func (*SmartWriter) GetLast ¶
func (sw *SmartWriter) GetLast() int64
func (*SmartWriter) GetTotal ¶
func (sw *SmartWriter) GetTotal() int64
func (*SmartWriter) SetLast ¶
func (sw *SmartWriter) SetLast(last int64) int64
func (*SmartWriter) SetTotal ¶
func (sw *SmartWriter) SetTotal(total int64) int64
Click to show internal directories.
Click to hide internal directories.