Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileIdGenerator ¶
type FileIdGenerator struct{}
func (*FileIdGenerator) Generate ¶
func (g *FileIdGenerator) Generate() string
type IdGenerator ¶
type IdGenerator interface {
Generate() string
}
type KafkaWriter ¶
type Plugin ¶
type Plugin struct { Writer KafkaWriter IdGenerator IdGenerator Topic string MessageSize int CloseChan chan bool FileSize uint64 CurrentFile *File }
Click to show internal directories.
Click to hide internal directories.