Documentation ¶
Index ¶
- Variables
- type SendReceiver
- func (sr *SendReceiver) Close(_ context.Context)
- func (sr *SendReceiver) Receive(ctx context.Context, processor eventbus.Processor) error
- func (sr *SendReceiver) Send(ctx context.Context, meta *event.Metadata, data []byte) error
- func (sr *SendReceiver) Setup(ctx context.Context, serviceName string, infos ...eventbus.ServiceInfo) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNilContext = errors.New("nil Context") ErrNilMetadata = errors.New("nil Metadata") )
Functions ¶
This section is empty.
Types ¶
type SendReceiver ¶
type SendReceiver struct {
// contains filtered or unexported fields
}
func New ¶
func New() *SendReceiver
func (*SendReceiver) Close ¶
func (sr *SendReceiver) Close(_ context.Context)
func (*SendReceiver) Setup ¶
func (sr *SendReceiver) Setup(ctx context.Context, serviceName string, infos ...eventbus.ServiceInfo) error
Click to show internal directories.
Click to hide internal directories.