(name string)
| 38 | } |
| 39 | |
| 40 | func (tqs *TaskQueueSet) WithMainName(name string) { |
| 41 | tqs.MainName = name |
| 42 | tqs.logger = tqs.logger.Named(name) |
| 43 | } |
| 44 | |
| 45 | func (tqs *TaskQueueSet) WithContext(ctx context.Context) { |
| 46 | tqs.ctx, tqs.cancel = context.WithCancel(ctx) |
no outgoing calls