Documentation
¶
Index ¶
Constants ¶
View Source
const ErrReadLimitReached errorkit.Error = "request-entity-too-large"
View Source
const ErrSeekNegativePosition errorkit.Error = "iokit: negative position"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer is an in-memory io.ReadWriteSeeker implementation
type StubReader ¶ added in v0.202.0
type StubReader struct {
Data []byte
ReadErr error
CloseErr error
IsClosed bool
// contains filtered or unexported fields
}
func (*StubReader) Close ¶ added in v0.202.0
func (r *StubReader) Close() error
type SyncReadWriter ¶
type SyncReadWriter struct {
// ReadWriter is the protected io.ReadWriter
ReadWriter io.ReadWriter
// Locker is an optional sync.Locker value if you need to share locking between different multiple SyncReader.
//
// Default: sync.Mutex
Locker sync.Locker
}
type SyncReader ¶
Click to show internal directories.
Click to hide internal directories.