queue

package
v0.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 2 Imported by: 0

README

queue

import "github.com/kitsunium/sdk/framework/app/queue"

Package queue plugs kit's queues in: the queues of the topics a service declares and of their subscriptions, of its watches and of its queued commands, and the outbox of a mailer on a database — the brokers the SDK's queue runs them on, in memory, in the data directory or on a database, and their consumers. A product that declares one imports it:

import _ "github.com/kitsunium/sdk/framework/app/queue"

A product that declares none does not, and links none of those brokers; a program that declares one without it is refused at the start, the refusal naming this import (CodeSubsystemMissing). It imports framework/app/store: a queue on a database joins the store subsystem's transactions, and a sealed message is sealed under data keys kit keeps in a store of its own. framework/app does not import it (ADR 0179 step 10): kit gen writes the line for a designed product, and a hand-written one writes it.

Generated from docs/api by tools/genindex.

Documentation

Overview

Package queue plugs kit's queues in: the queues of the topics a service declares and of their subscriptions, of its watches and of its queued commands, and the outbox of a mailer on a database — the brokers the SDK's queue runs them on, in memory, in the data directory or on a database, and their consumers. A product that declares one imports it:

import _ "github.com/kitsunium/sdk/framework/app/queue"

A product that declares none does not, and links none of those brokers; a program that declares one without it is refused at the start, the refusal naming this import (CodeSubsystemMissing). It imports framework/app/store: a queue on a database joins the store subsystem's transactions, and a sealed message is sealed under data keys kit keeps in a store of its own. framework/app does not import it (ADR 0179 step 10): kit gen writes the line for a designed product, and a hand-written one writes it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL