Versions in this module Expand all Collapse all v0 v0.1.0 Aug 20, 2023 Changes in this version + func Encode(container *Container[Record]) (bytes.Buffer, error) + func Sha256(data []byte) string + type Container struct + Data Record + Hash string + Index uint64 + Next *Container[Record] + Time time.Time + func Create(data Record, index uint64) *Container[Record] + func Decode(buffer bytes.Buffer) (*Container[Record], error) + func (c *Container[Record]) Fill(data Record, index uint64) + func (c *Container[Record]) Save() error + type Freighter struct + Head *Container[Record] + Size uint64 + Tail *Container[Record] + func (f *Freighter[Record]) Append(data Record)