Rich Enhanced Shell History - Contextual shell history for zsh and bash
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.
 
 
 
resh/internal/msg/msg.go

32 lines
641 B

package msg
import "github.com/curusarn/resh/internal/records"
// CliMsg struct
type CliMsg struct {
SessionID string `json:"sessionID"`
PWD string `json:"pwd"`
}
// CliResponse struct
type CliResponse struct {
CliRecords []records.CliRecord `json:"cliRecords"`
}
// 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"`
}