Documentation ¶
Index ¶
- type FrameServer
- func (s *FrameServer) GetAllFrames() *frame.Stream
- func (s *FrameServer) GetAllFramesLock() *frame.Stream
- func (s *FrameServer) GetFrame(frameNumber int) (f frame.Frame, err error)
- func (s *FrameServer) GetFrameSeekTable() []int64
- func (s *FrameServer) GetFrames(startFrameNumber, endFrameNumber int) *frame.Stream
- func (s *FrameServer) GetFramesLock(startFrameNumber, endFrameNumber int) *frame.Stream
- type Pool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrameServer ¶
type FrameServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(reader io.ReadSeeker, cachedFrameSeekTable []int64) *FrameServer
func NewXZCompressed ¶
func NewXZCompressed(reader io.ReadSeeker, cachedFrameSeekTable []int64) *FrameServer
func (*FrameServer) GetAllFrames ¶
func (s *FrameServer) GetAllFrames() *frame.Stream
GetAllFrames gets all frames from start to end. Locks on every iteration. See GetAllFramesLock
func (*FrameServer) GetAllFramesLock ¶
func (s *FrameServer) GetAllFramesLock() *frame.Stream
GetAllFramesLock gets all frames from start to end. Locks on every iteration. See GetAllFramesLock
func (*FrameServer) GetFrame ¶
func (s *FrameServer) GetFrame(frameNumber int) (f frame.Frame, err error)
func (*FrameServer) GetFrameSeekTable ¶
func (s *FrameServer) GetFrameSeekTable() []int64
func (*FrameServer) GetFrames ¶
func (s *FrameServer) GetFrames(startFrameNumber, endFrameNumber int) *frame.Stream
GetFrames gets a range of frames, like a slice [0, 1] will return just one frame.Frame. Locks on every iteration. See GetFramesLock
func (*FrameServer) GetFramesLock ¶
func (s *FrameServer) GetFramesLock(startFrameNumber, endFrameNumber int) *frame.Stream
GetFramesLock gets a range of frames, but locks during all of them. See GetFrames
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool automatically grows and shrinks as-needed based on how many frame requests come in.
func (*Pool) GetAllFrames ¶
func (*Pool) GetFrameSeekTable ¶
Click to show internal directories.
Click to hide internal directories.