Documentation ¶
Index ¶
- type AppSyncPublisher
- type Args
- type RedisPublisher
- func (self *RedisPublisher[In]) WithChannelName(v string) *RedisPublisher[In]
- func (self *RedisPublisher[In]) WithDiscardWhenDisconnected(v bool) *RedisPublisher[In]
- func (self *RedisPublisher[In]) WithInputChannel(v chan In) *RedisPublisher[In]
- func (self *RedisPublisher[In]) WithMonitor(monitor monitoring.Monitor, idx int) *RedisPublisher[In]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSyncPublisher ¶
type AppSyncPublisher[In encoding.BinaryMarshaler] struct { *task.Task // contains filtered or unexported fields }
Forwards messages to Redis
func NewAppSyncPublisher ¶
func NewAppSyncPublisher[In encoding.BinaryMarshaler](config *config.Config, name string) (self *AppSyncPublisher[In])
func (*AppSyncPublisher[In]) WithChannelName ¶
func (self *AppSyncPublisher[In]) WithChannelName(v string) *AppSyncPublisher[In]
func (*AppSyncPublisher[In]) WithInputChannel ¶
func (self *AppSyncPublisher[In]) WithInputChannel(v chan In) *AppSyncPublisher[In]
func (*AppSyncPublisher[In]) WithMonitor ¶
func (self *AppSyncPublisher[In]) WithMonitor(monitor monitoring.Monitor) *AppSyncPublisher[In]
type RedisPublisher ¶
type RedisPublisher[In encoding.BinaryMarshaler] struct { *task.Task // contains filtered or unexported fields }
Forwards messages to Redis
func NewRedisPublisher ¶
func NewRedisPublisher[In encoding.BinaryMarshaler](config *config.Config, redisConfig config.Redis, name string) (self *RedisPublisher[In])
func (*RedisPublisher[In]) WithChannelName ¶
func (self *RedisPublisher[In]) WithChannelName(v string) *RedisPublisher[In]
func (*RedisPublisher[In]) WithDiscardWhenDisconnected ¶ added in v0.1.276
func (self *RedisPublisher[In]) WithDiscardWhenDisconnected(v bool) *RedisPublisher[In]
func (*RedisPublisher[In]) WithInputChannel ¶
func (self *RedisPublisher[In]) WithInputChannel(v chan In) *RedisPublisher[In]
func (*RedisPublisher[In]) WithMonitor ¶
func (self *RedisPublisher[In]) WithMonitor(monitor monitoring.Monitor, idx int) *RedisPublisher[In]
Click to show internal directories.
Click to hide internal directories.