Documentation ¶
Overview ¶
Package fossilizer defines types to implement a fossilizer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { // Returns arbitrary information about the adapter. GetInfo() (interface{}, error) // Adds a channel that receives results whenever data is fossilized. AddResultChan(resultChan chan *Result) // Requests data to be fossilized. // Meta is arbitrary data that will be sent to the result channels. Fossilize(data []byte, meta []byte) error }
Adapter must be implemented by a fossilier.
Directories ¶
Path | Synopsis |
---|---|
Package fossilizerhttp is used to create an HTTP server from a fossilizer adapter.
|
Package fossilizerhttp is used to create an HTTP server from a fossilizer adapter. |
Package fossilizertesting defines helpers to test fossilizers.
|
Package fossilizertesting defines helpers to test fossilizers. |
Click to show internal directories.
Click to hide internal directories.