Documentation
¶
Overview ¶
Package storagepublisher provides an adapter to publish hits to a worker-backed storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter translates hits to a task and publishes it to the storage
func NewAdapter ¶
func NewAdapter(encoder encoding.EncoderFunc, publisher worker.Publisher) *Adapter
NewAdapter creates a new Adapter instance
Click to show internal directories.
Click to hide internal directories.