package
0.0.0-20241015184656-97498d8d1c4e
Repository: https://github.com/nomasters/haystack.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Constants
DefaultTTL of 1 day.
ErrorNeedleIsNil is used when the Set method receives a nil pointer.
ErrorStoreFull is used when the Set method receives a nil pointer.
# Interfaces
Closer takes no arguments and returns an error.
GetSetCloser is the primary interface used by the haystack server, it allows for Getting, Setting, and Closings.
Getter takes a needle.Hash and returns a reference to needle.Needle and an error.
Setter takes a needle.Needle reference and returns an error The purpose is to write a needle to storage and return an error if any issues arise.