You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
205 B
Go

package consumer
import (
"context"
)
type Task struct {
gh *GroupHandler
cancel context.CancelFunc
}
var RTS = make(map[string]*Task)
func Stop() {
for _, t := range RTS {
t.gh.Close()
}
}