Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultTTL of 1 day DefaultTTL = 24 * time.Hour // ErrorNeedleIsNil is used when the Set method receives a nil pointer ErrorNeedleIsNil = errors.Error("Cannot Set a nil *Needle") // ErrorStoreFull is used when the Set method receives a nil pointer ErrorStoreFull = errors.Error("Store is full") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Closer ¶
type Closer interface {
Close() error
}
Closer takes no arguments and returns an error. The purpose is to allow a signal to be passed to a storage
type GetSetCloser ¶
GetSetCloser is the primary interface used by the haystack server, it allows for Getting, Setting, and Closings
Click to show internal directories.
Click to hide internal directories.