Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEventWorker ¶
func RegisterEventWorker(service micro.Service)
RegisterEventWorker for status
Types ¶
type EventMessage ¶
type EventMessage struct { Topic string Message *proto.MessageEntity }
EventMessage ...
type EventWorker ¶
type EventWorker struct {
// contains filtered or unexported fields
}
EventWorker is an status publisher for the go-micro broker
func NewEventSubPub ¶
func NewEventSubPub(service micro.Service) *EventWorker
NewEventSubPub creates a new broker status publisher
func (*EventWorker) EventProcess ¶
func (a *EventWorker) EventProcess(ctx context.Context, eventMessage *proto.MessageEntity) error
EventProcess Event for MessageBus
Click to show internal directories.
Click to hide internal directories.