Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker interface { CreateTopic(ctx context.Context, topic domain.Topic) error Push(ctx context.Context, topic, payload, partitionKey string) error }
func NewDefaultBroker ¶
func NewDefaultBroker(cfg redisstorage.PoolOptions, opts ...Option) Broker
type BrokerOpts ¶
type BrokerOpts struct {
// contains filtered or unexported fields
}
type MQRepository ¶
type Option ¶
type Option func(opt *BrokerOpts)
type RepositorySet ¶
type RepositorySet interface { TopicRepository MQRepository }
Click to show internal directories.
Click to hide internal directories.