# README
Go-Journal
seperated from go-utils/journal
.
# Functions
GenerateNewBufFName return new buf file name depends on current time file name looks like `yyyymmddnnnn.ids`, nnnn begin from 0001 for each day.
NewDataDecoder create new DataDecoder.
NewDataEncoder create new DataEncoder.
NewIdsDecoder create new IdsDecoder.
NewIdsEncoder create new IdsEncoder.
NewInt64Set create new Int64Set.
NewInt64SetWithTTL create new int64 set with ttl.
NewJournal create new Journal.
NewLegacyLoader create new LegacyLoader.
NewUint32Set create new Uint32Set.
OpenBufFile create and open file.
PrepareDir `mkdir -p`.
PrepareNewBufFile create new data & id files, and update bufFileStat.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BaseSerializer base serializer.
Data msgp data schema.
DataDecoder data deserializer.
DataEncoder data serializer.
IdsDecoder ids deserializer.
IdsEncoder ids serializer.
Int64Set set depends on sync.Map.
Int64SetWithTTL int64 set with TTL.
Journal redo log consist by msgs and committed ids.
LegacyLoader loader to handle legacy data and ids.
Uint32Set set depends on bitmap.
# Interfaces
Int64SetItf set for int64.
# Type aliases
No description provided by the author