Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrUnsupportedType indicates an error when an unsupported router type is encountered. ErrUnsupportedType = Err("unsupported router type") // ErrMissingURL indicates that a connection URL is required but was not provided. ErrMissingURL = Err("connection URL is required") // ErrMissingSubject indicates an error when the required subject is not provided. ErrMissingSubject = Err("subject is required") // ErrMissingQueueGroup indicates an error when a queue group is required but not provided for the router. ErrMissingQueueGroup = Err("queue group is required for the router") // ErrMissingStream indicates an error when a stream is required but not provided for a jetstream router. ErrMissingStream = Err("stream is required for jetstream router") // ErrMissingDurable indicates an error when a durable name is required but not provided for a jetstream router. ErrMissingDurable = Err("durable name is required for jetstream router") // ErrNilRoute indicates that the provided route instance is nil, which is invalid for route registration. ErrNilRoute = Err("route cannot be nil") // ErrNilHandler indicates that the provided handler instance is nil, which is invalid for route registration. ErrNilHandler = Err("handler cannot be nil") // ErrNoRoutes indicates that no routes were provided when attempting to configure or run the broker. ErrNoRoutes = Err("no routes provided") // ErrNilRouteRegistration indicates that a route registration provided to the broker is nil, which is not allowed. ErrNilRouteRegistration = Err("route registration cannot be nil") // ErrRequestNotSupported indicates that request-reply routes are not supported for JetStream producers. ErrRequestNotSupported = Err("request-reply routes are not supported for JetStream producers") // ErrRequestTimeout indicates that a request-reply operation exceeded its deadline. ErrRequestTimeout = Err("request timeout: consumer did not reply in time") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
broker
command
|
|
|
broker/producer
command
|
|
|
consumer/jetstream/deduplication
command
|
|
|
consumer/jetstream/dlq
command
|
|
|
consumer/jetstream/durable
command
|
|
|
consumer/jetstream/replay
command
|
|
|
consumer/pubsub
command
|
|
|
consumer/queue
command
|
|
|
consumer/request_reply
command
|
|
|
consumer/request_reply_infinite
command
|
|
|
producer/core
command
|
|
|
producer/jetstream
command
|
|
|
producer/request_reply
command
|
|
|
typed/broker
command
|
|
|
typed/consumer
command
|
|
|
typed/producer
command
|
|
|
typed/request_reply
command
|
|
Click to show internal directories.
Click to hide internal directories.