Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
History is a ring-buffer class for history (string) data.
type HistoryFile ¶
type HistoryFile struct { *History // contains filtered or unexported fields }
HistoryFile is a history file class.
func NewFile ¶
func NewFile(size int, path string) *HistoryFile
NewFile function returns new HistoryFile instance.
func (*HistoryFile) Load ¶
func (hf *HistoryFile) Load() error
Load method imports history data from file.
func (*HistoryFile) Save ¶
func (hf *HistoryFile) Save() error
Save method exports history data to file.
Click to show internal directories.
Click to hide internal directories.