Documentation ¶
Overview ¶
Package asciicast handle logs compatible with the asciinema command
asciicast file format (version 2) reference: https://github.com/asciinema/asciinema/blob/master/doc/asciicast-v2.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Now = time.Now
Now function provide time default to time.Now
Functions ¶
func NewFileWriter ¶
func NewFileWriter(castName string) (io.WriteCloser, error)
NewFileWriter provide a WriteCloser that writes asciicast format to file
func NewWriter ¶
func NewWriter(cast io.WriteCloser) (io.WriteCloser, error)
NewWriter provide a WriteCloser that writes asciicast format to cast
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.