Documentation ¶
Index ¶
Constants ¶
View Source
const BucketName = "history"
Variables ¶
View Source
var PWD string
Functions ¶
Types ¶
type History ¶
type History struct { ID uint64 `json:"id"` Time time.Time `json:"time"` CmdArgs []string `json:"cmd"` Results string `json:"results"` Error string `json:"error"` ExitCode int `json:"exit_code"` }
func LastHistory ¶
func (History) PrintShort ¶
func (h History) PrintShort()
func (History) PrintShortVerbose ¶
func (h History) PrintShortVerbose()
func (History) TimeString ¶
Click to show internal directories.
Click to hide internal directories.