Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWorkerIsNotActive = errors.New("storage worker is not active")
)
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback func(map[uint32]GroupState)
type ClickhouseWorker ¶
type ClickhouseWorker[T any] struct { // contains filtered or unexported fields }
func NewClickhouseWorker ¶
func (*ClickhouseWorker[T]) RegisterCallback ¶
func (w *ClickhouseWorker[T]) RegisterCallback(cb Callback)
func (*ClickhouseWorker[T]) Store ¶
func (w *ClickhouseWorker[T]) Store(group uint32, items ...T) error
Click to show internal directories.
Click to hide internal directories.