Versions in this module Expand all Collapse all v3 v3.3.0 Jul 18, 2024 Changes in this version + type SyncedReadCloser struct + func NewOpenGateWithTimeout(r io.ReadCloser, d time.Duration) *SyncedReadCloser + func NewSyncedReadCloser(r io.ReadCloser) *SyncedReadCloser + func (s *SyncedReadCloser) Close() error + func (s *SyncedReadCloser) Len() int + func (s *SyncedReadCloser) OpenGate() + func (s *SyncedReadCloser) OpenGateAfter(d time.Duration) + func (s *SyncedReadCloser) Read(p []byte) (n int, err error) + func (s *SyncedReadCloser) Seek(offset int64, whence int) (int64, error) + func (s *SyncedReadCloser) SetOpenGate(status bool)