Documentation ¶
Overview ¶
Package entryLogsHandler used to keep records slice of struc in pointer, add new records and delete not used records in pointer keep clean Database (.csv file but it can be other backend for example redis etc..)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryLog ¶
func NewEntryLog ¶
func NewEntryLog() *EntryLog
func (*EntryLog) AddLastRecords ¶
AddLastRecords used mostly for control database (in our case simple .csv file), it keep only needed records. 1. It used at spart up (init func) init paramaters must be set TRUE 2. Used as goroutines periodicly cleapUp Database init paramaters must be set FALSE
func (*EntryLog) DeleteExtraRecords ¶
DeleteExtraRecords so it delete not used records from slice as well used in goroutines
Click to show internal directories.
Click to hide internal directories.