| 93 | ) |
| 94 | |
| 95 | type QueueAPI interface { |
| 96 | // InspectQueue returns information about a queue. |
| 97 | InspectQueue(ctx context.Context, qh Handle) (QueueInfo, error) |
| 98 | // Dequeue reads from the queue. |
| 99 | // It reads into buf until buf is full or another criteria is fulfilled. |
| 100 | Dequeue(ctx context.Context, q Handle, buf []Message, opts DequeueOpts) (int, error) |
| 101 | // Insert adds the messages to the end of the queue. |
| 102 | Enqueue(ctx context.Context, q Handle, msgs []Message) (*InsertResp, error) |
| 103 | } |
| 104 | |
| 105 | type SubcriptionAPI interface { |
| 106 | // SubToVolume causes all changes to a Volume's cell to be |
no outgoing calls
no test coverage detected