history

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type History

type History struct {
	Entries *[]entity.HistoryEntry
	Path    string
	Mu      sync.RWMutex
}

func NewHistory

func NewHistory() History

NewHistory creates a new History controller

func (*History) AddEntry

func (h *History) AddEntry(session entity.Session) error

func (*History) LoadHistory

func (h *History) LoadHistory() error

LoadHistory reads history entries from the history file

func (*History) SaveHistory

func (h *History) SaveHistory() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL