Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHistory ¶
func AddHistoryFromArgs ¶
func AddHistoryFromArgs(args []string)
func ReadableTime ¶ added in v0.1.4
func RemoveByIP ¶ added in v0.1.4
Types ¶
type SSHHistory ¶
type SSHHistory struct { Connection config.SSHConfig `json:"connection"` Date time.Time `json:"date"` }
func Fetch ¶
func Fetch(file []byte) ([]SSHHistory, error)
func FetchWithDefaultFile ¶
func FetchWithDefaultFile() ([]SSHHistory, error)
Click to show internal directories.
Click to hide internal directories.