(queue chan Request, userID string, queueLength *prometheus.GaugeVec)
| 21 | } |
| 22 | |
| 23 | func NewFIFORequestQueue(queue chan Request, userID string, queueLength *prometheus.GaugeVec) *FIFORequestQueue { |
| 24 | return &FIFORequestQueue{queue: queue, userID: userID, queueLength: queueLength} |
| 25 | } |
| 26 | |
| 27 | func (f *FIFORequestQueue) enqueueRequest(r Request) { |
| 28 | f.queue <- r |
no outgoing calls