Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMessage ¶
type IMessage[T common.Type] interface { Publisher[T] Subscriber[T] SubscriberSync[T] common.Error }
Messager is an interfer that implements two other interfaces which are Publisher and Subscriber
type Publisher ¶
type Publisher[T common.Type] interface { Publish(ctx context.Context, message *common.Message[T]) IMessage[T] }
Publisher is to publish a message on a topic/subject
Click to show internal directories.
Click to hide internal directories.