Documentation
¶
Index ¶
Constants ¶
View Source
const ( MemoryDriver = "MEMORY" RedisDriver = "REDIS" UpstashKafkaDriver = "UPSTASH_KAFKA" )
PubSub Drivers
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryAdapter ¶
type MemoryAdapter struct {
// contains filtered or unexported fields
}
type PubSub ¶
type PubSub struct { Driver string Consumer channels.ConsumerAdapter Producer channels.ProducerAdapter }
func NewMemoryAdapter ¶
func NewRedisAdapter ¶
func NewUpstashKafkaAdapter ¶
type PubSubError ¶
func NewPubSubError ¶
func NewPubSubError(driver, message string) *PubSubError
func (*PubSubError) Error ¶
func (e *PubSubError) Error() string
type RedisAdapter ¶
type RedisAdapter struct {
// contains filtered or unexported fields
}
type UpstashKafkaAdapter ¶
type UpstashKafkaAdapter struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.