Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*redis.Client
}
func (*Client) Subscriber ¶
func (c *Client) Subscriber(ctx context.Context, channelName string, _ *runRedis.ChannelBindings) (runRedis.Subscriber, error)
type EnvelopeIn ¶
type EnvelopeIn struct { *redis.Message // contains filtered or unexported fields }
func NewEnvelopeIn ¶
func NewEnvelopeIn(msg *redis.Message) *EnvelopeIn
func (*EnvelopeIn) Headers ¶
func (e *EnvelopeIn) Headers() run.Headers
type EnvelopeOut ¶
func NewEnvelopeOut ¶
func NewEnvelopeOut() *EnvelopeOut
func (*EnvelopeOut) AsAny ¶
func (e *EnvelopeOut) AsAny() any
func (*EnvelopeOut) ResetPayload ¶
func (e *EnvelopeOut) ResetPayload()
func (*EnvelopeOut) SetBindings ¶
func (e *EnvelopeOut) SetBindings(_ runRedis.MessageBindings)
func (*EnvelopeOut) SetContentType ¶
func (e *EnvelopeOut) SetContentType(contentType string)
func (*EnvelopeOut) SetHeaders ¶
func (e *EnvelopeOut) SetHeaders(headers run.Headers)
type ImplementationRecord ¶
type ImplementationRecord interface {
AsAny() any
}
type PublishChannel ¶
type PublishChannel struct { Client *redis.Client Name string }
func (PublishChannel) Close ¶
func (p PublishChannel) Close() error
func (PublishChannel) Send ¶
func (p PublishChannel) Send(ctx context.Context, envelopes ...runRedis.EnvelopeWriter) error
type SubscriberChannel ¶
type SubscriberChannel struct { *redis.PubSub Name string }
func (SubscriberChannel) Receive ¶
func (s SubscriberChannel) Receive(ctx context.Context, cb func(envelope runRedis.EnvelopeReader)) error
Click to show internal directories.
Click to hide internal directories.