Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMultiplier ¶
func NewMultiplier(constructor Constructor, subscribersCount int) message.Subscriber
TODO: Right now this is a copy-paste of Watermill's internal Multiplier
Types ¶
type Constructor ¶
type Constructor func() (message.Subscriber, error)
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func NewCounter ¶
func NewCounter() *Counter
func (*Counter) MeanPerSecond ¶
type MySQLSchema ¶
type MySQLSchema struct {
sql.DefaultMySQLSchema
}
func (MySQLSchema) SchemaInitializingQueries ¶
func (m MySQLSchema) SchemaInitializingQueries(topic string) []string
type PostgreSQLSchema ¶
type PostgreSQLSchema struct {
sql.DefaultPostgreSQLSchema
}
func (PostgreSQLSchema) SchemaInitializingQueries ¶
func (p PostgreSQLSchema) SchemaInitializingQueries(topic string) []string
type PubSub ¶
type PubSub struct { Publisher message.Publisher Subscriber message.Subscriber MessagesCount int MessageSize int Topic string UUIDFunc func() string }
func (PubSub) ConsumeMessages ¶
func (PubSub) PublishMessages ¶
type PubSubDefinition ¶
Click to show internal directories.
Click to hide internal directories.