Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler loads promotions from a source file into a data storage
type Lifecycle ¶
Lifecycle exposes hooks to load process
func NewLifecycle ¶
func NewLifecycle() Lifecycle
type Streamer ¶
Streamer handles promotions file data chunks
func NewStreamer ¶
func NewStreamer() Streamer
type WriterProvider ¶
type WriterProvider func() (io.WriteCloser, error)
func RedisWriterFn ¶
func RedisWriterFn(cfg *config.Config) WriterProvider
Click to show internal directories.
Click to hide internal directories.