Versions in this module Expand all Collapse all v1 v1.11.1 Oct 2, 2021 Changes in this version + type Archive struct + Events *Record + Session *Record + func Load(fileName string, cb LoadProgress) (*Archive, error) + func New(fileName string) *Archive + func (r *Archive) Flush() error + func (r *Archive) NewState(session []byte, events []byte) error + type LoadProgress func(perc float64, done int, total int) + type Record struct + Head []byte + Patches []patch + func NewRecord(progress progressCallback) *Record + func (e *Record) AddState(state []byte) error + func (e *Record) Compile() error + func (e *Record) Duration() time.Duration + func (e *Record) Frames() int + func (e *Record) Index() int + func (e *Record) Next() []byte + func (e *Record) OnProgress(cb progressCallback) + func (e *Record) Over() bool + func (e *Record) Reset() + func (e *Record) SetFrom(from int) + func (e *Record) StartedAt() time.Time + func (e *Record) StoppedAt() time.Time + func (e *Record) TimeOf(idx int) time.Time