mirror of https://github.com/curusarn/resh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
495 B
34 lines
495 B
package recordint
|
|
|
|
import "github.com/curusarn/resh/record"
|
|
|
|
type Collect struct {
|
|
// record merging
|
|
SessionID string
|
|
Shlvl int
|
|
// session watching
|
|
SessionPID int
|
|
Shell string
|
|
|
|
Rec record.V1
|
|
}
|
|
|
|
type Postcollect struct {
|
|
// record merging
|
|
SessionID string
|
|
Shlvl int
|
|
// session watching
|
|
SessionPID int
|
|
|
|
RecordID string
|
|
ExitCode int
|
|
Duration float64
|
|
}
|
|
|
|
type SessionInit struct {
|
|
// record merging
|
|
SessionID string
|
|
Shlvl int
|
|
// session watching
|
|
SessionPID int
|
|
}
|
|
|