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.
32 lines
647 B
32 lines
647 B
package msg
|
|
|
|
import "github.com/curusarn/resh/pkg/records"
|
|
|
|
// DumpMsg struct
|
|
type DumpMsg struct {
|
|
SessionID string `json:"sessionID"`
|
|
PWD string `json:"pwd"`
|
|
}
|
|
|
|
// DumpResponse struct
|
|
type DumpResponse struct {
|
|
FullRecords []records.EnrichedRecord `json:"fullRecords"`
|
|
}
|
|
|
|
// InspectMsg struct
|
|
type InspectMsg struct {
|
|
SessionID string `json:"sessionId"`
|
|
Count uint `json:"count"`
|
|
}
|
|
|
|
// MultiResponse struct
|
|
type MultiResponse struct {
|
|
CmdLines []string `json:"cmdlines"`
|
|
}
|
|
|
|
// StatusResponse struct
|
|
type StatusResponse struct {
|
|
Status bool `json:"status"`
|
|
Version string `json:"version"`
|
|
Commit string `json:"commit"`
|
|
}
|
|
|