Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record interface { // ContentType returns the MIME type for this record's data. e.g. image/gif, text/plain ContentType() string // Data returns the record data in bytes Data() []byte }
Record contains data that can be attached to errors for more context. i.e. screen recording gif
type ScreenRecorder ¶
ScreenRecorder takes screenshots and encodes them as a gif
func NewScreenRecorder ¶
func NewScreenRecorder(timeScale float64) ScreenRecorder
NewScreenRecorder creates a new ScreenRecorder and stretches the gif frame delay by 'timeScale'
Click to show internal directories.
Click to hide internal directories.