Documentation
¶
Index ¶
- type AsciicastV3Cardea
- type AsciicastV3Event
- type AsciicastV3Header
- type AsciicastV3Recorder
- func (r *AsciicastV3Recorder) Close() error
- func (r *AsciicastV3Recorder) Pause(command string) error
- func (r *AsciicastV3Recorder) Resume()
- func (r *AsciicastV3Recorder) Write(p []byte) (n int, err error)
- func (r *AsciicastV3Recorder) WriteExit(exitStatus uint32) (err error)
- func (r *AsciicastV3Recorder) WriteHeader(header *AsciicastV3Header) error
- func (r *AsciicastV3Recorder) WriteResize(cols, rows uint32) error
- type AsciicastV3Term
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsciicastV3Cardea ¶ added in v1.5.0
type AsciicastV3Cardea struct {
NodeID string `json:"node_id,omitempty"`
BackendTarget string `json:"backend_target"`
BackendAddr string `json:"backend_addr"`
FrontendAddr string `json:"frontend_addr"`
SessionID string `json:"session_id"`
Fingerprint string `json:"fingerprint"`
Comment string `json:"comment,omitempty"`
}
type AsciicastV3Event ¶
type AsciicastV3Event [3]any
type AsciicastV3Header ¶
type AsciicastV3Header struct {
Version uint8 `json:"version"`
Term AsciicastV3Term `json:"term"`
Timestamp int64 `json:"timestamp"`
Command string `json:"command,omitempty"`
Title string `json:"title,omitempty"`
Env map[string]string `json:"env,omitempty"`
Cardea *AsciicastV3Cardea `json:"cardea,omitempty"`
}
func NewAsciicastV3Header ¶
func NewAsciicastV3Header(title string) *AsciicastV3Header
type AsciicastV3Recorder ¶
type AsciicastV3Recorder struct {
// contains filtered or unexported fields
}
func NewAsciicastV3Recorder ¶
func NewAsciicastV3Recorder(path string) *AsciicastV3Recorder
func (*AsciicastV3Recorder) Close ¶
func (r *AsciicastV3Recorder) Close() error
func (*AsciicastV3Recorder) Pause ¶ added in v1.6.0
func (r *AsciicastV3Recorder) Pause(command string) error
func (*AsciicastV3Recorder) Resume ¶ added in v1.6.0
func (r *AsciicastV3Recorder) Resume()
func (*AsciicastV3Recorder) Write ¶
func (r *AsciicastV3Recorder) Write(p []byte) (n int, err error)
func (*AsciicastV3Recorder) WriteExit ¶
func (r *AsciicastV3Recorder) WriteExit(exitStatus uint32) (err error)
func (*AsciicastV3Recorder) WriteHeader ¶
func (r *AsciicastV3Recorder) WriteHeader(header *AsciicastV3Header) error
func (*AsciicastV3Recorder) WriteResize ¶
func (r *AsciicastV3Recorder) WriteResize(cols, rows uint32) error
type AsciicastV3Term ¶
Click to show internal directories.
Click to hide internal directories.