Documentation
¶
Overview ¶
Package nats provides a NATS adapter for Kiara.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // This error is reported via Adapter.Errors() when the adapter can't deliver // succeeding messages arrived from NATS because Adapter.Delivered() is already full. ErrSlowConsumer = errors.New("slow consumer") // This error is returned by Adapter.Subscribe() when the topic is already subscribed. ErrAlreadySubscribed = errors.New("already subscribed") )
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
Adapter is an adapter that sends messages through NATS.
func NewAdapter ¶
NewAdapter creates a new Adapter.
func (*Adapter) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.