| 15 | } |
| 16 | |
| 17 | type FIFORequestQueue struct { |
| 18 | queue chan Request |
| 19 | userID string |
| 20 | 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} |
nothing calls this directly
no outgoing calls
no test coverage detected