Documentation
¶
Overview ¶
Package workflowpluginbroker provides the NATS broker workflow plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker interface {
Start(ctx context.Context) error
Stop(ctx context.Context) error
Publish(subject string, data []byte) error
Subscribe(subject string, handler func([]byte)) error
SubscribeWithSubject(subject string, handler func(subject string, data []byte)) error
SubscribeDurable(subject, consumerName string, handler func([]byte)) error
}
Broker is the public interface for the NATS broker.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
workflow-plugin-broker
command
Command workflow-plugin-broker is a standalone gRPC plugin binary that exposes a NATS JetStream broker module to the workflow engine.
|
Command workflow-plugin-broker is a standalone gRPC plugin binary that exposes a NATS JetStream broker module to the workflow engine. |
|
Package internal provides the NATS JetStream broker module for cross-instance game event delivery.
|
Package internal provides the NATS JetStream broker module for cross-instance game event delivery. |
Click to show internal directories.
Click to hide internal directories.