Versions in this module Expand all Collapse all v0 v0.13.0 Oct 10, 2023 Changes in this version + var ErrNoHistory = errors.New("no history") + func NewHandler(filepath string) *fileHandler + type Entry struct + Body []byte + Header http.Header + Method string + Timestamp time.Time + URL string + func NewEntry(req *http.Request) (Entry, error) + type Handler interface + Append func(*http.Request, []byte) (Entry, error) + Clear func() error + GetAll func() ([]Entry, error) + GetByIndex func(index uint16) (Entry, error) + Latest func() (Entry, error) + Write func() error