Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageInfo ¶
type ImageInfo struct {
Channel string
From string
For string
MessageID int
Type string
Height int
Width int
Source string
// contains filtered or unexported fields
}
ImageInfo persists image information
type ImageWorker ¶
ImageWorker stream worker
func NewImageWorker ¶
func NewImageWorker(workers *worker.Workers, id int, label string) *ImageWorker
NewImageWorker create a new ImageWorker
func (*ImageWorker) Label ¶ added in v0.2.0
func (w *ImageWorker) Label() string
Label return label of worker
func (*ImageWorker) Run ¶
func (w *ImageWorker) Run(wg *sync.WaitGroup, term *chan int)
Run is main function of this worker
func (*ImageWorker) Subscriptions ¶ added in v0.2.0
func (w *ImageWorker) Subscriptions() []*worker.Subscription
Subscriptions return a copy of current scubscriptions
Click to show internal directories.
Click to hide internal directories.