Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstSource ¶
type ConstSource struct {
Value string
FlushDuration time.Duration
MaxBatchSize int
// contains filtered or unexported fields
}
func NewConstSource ¶
func NewConstSource(value string, flushDuration time.Duration, maxBatchSize int, workerGenerator engine.WorkerCreatorFunc) *ConstSource
TODO more variety of source values
func (*ConstSource) Close ¶
func (s *ConstSource) Close() error
func (*ConstSource) Name ¶
func (s *ConstSource) Name() string
Click to show internal directories.
Click to hide internal directories.