Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Timestamp time.Time `json:"ts"`
Command string `json:"cmd"` // full argv joined, secrets redacted
User string `json:"user"` // os.Getenv("USER")
Duration float64 `json:"dur_s"`
ExitCode int `json:"exit"`
Error string `json:"error,omitempty"`
}
Entry represents a single command execution log record.
Click to show internal directories.
Click to hide internal directories.