Documentation
¶
Overview ¶
Package blob stores raw messages as immutable files named by their SHA-256, so a message delivered to several mailboxes is kept once and a crash never leaves a half-written file behind.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a directory of content-addressed files.
func (*Store) Put ¶
Put writes data and returns its hash. Writing the same content twice is a no-op.
Click to show internal directories.
Click to hide internal directories.