Documentation ¶
Index ¶
- Constants
- func New() (queue.QueueService, error)
- type DevQueueService
- func (s *DevQueueService) Complete(ctx context.Context, queue string, leaseId string) error
- func (s *DevQueueService) Receive(ctx context.Context, options queue.ReceiveOptions) ([]queue.NitricTask, error)
- func (s *DevQueueService) Send(ctx context.Context, queue string, task queue.NitricTask) error
- func (s *DevQueueService) SendBatch(ctx context.Context, q string, tasks []queue.NitricTask) (*queue.SendBatchResponse, error)
- type Item
Constants ¶
View Source
const DEV_SUB_DIRECTORY = "./queues/"
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() (queue.QueueService, error)
Types ¶
type DevQueueService ¶
type DevQueueService struct { queue.UnimplementedQueuePlugin // contains filtered or unexported fields }
func (*DevQueueService) Receive ¶
func (s *DevQueueService) Receive(ctx context.Context, options queue.ReceiveOptions) ([]queue.NitricTask, error)
func (*DevQueueService) Send ¶
func (s *DevQueueService) Send(ctx context.Context, queue string, task queue.NitricTask) error
func (*DevQueueService) SendBatch ¶
func (s *DevQueueService) SendBatch(ctx context.Context, q string, tasks []queue.NitricTask) (*queue.SendBatchResponse, error)
Click to show internal directories.
Click to hide internal directories.