Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
Player manages the playback of a recorded desktop session. It streams events from the audit log to the browser over a websocket connection.
type Streamer ¶
type Streamer interface { // StreamSessionEvents streams all events from a given session recording. An error is returned on the first // channel if one is encountered. Otherwise the event channel is closed when the stream ends. // The event channel is not closed on error to prevent race conditions in downstream select statements. StreamSessionEvents(ctx context.Context, sessionID session.ID, startIndex int64) (chan apievents.AuditEvent, chan error) }
Streamer is the interface that can provide with a stream of events related to a particular session.
Click to show internal directories.
Click to hide internal directories.