Documentation ¶
Overview ¶
Message Queue
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataBus ¶
type DataBus struct {
// contains filtered or unexported fields
}
DataBus abstract type
type MQ ¶
type MQ interface { // setting Init(context.Context) error io.Closer // Closer is the interface that wraps the basic Close method. // Pub/Sub a pattern Publish(ctx context.Context, target string, message query.Message) error Subscribe(target string, message query.Response) error UnSubscribe(target string) error }
MQ - common interface of DataBus
Click to show internal directories.
Click to hide internal directories.