Documentation
¶
Index ¶
- type BrokerInterface
- type LocalBroker
- func (l *LocalBroker) Activate()
- func (l *LocalBroker) Clone() BrokerInterface
- func (l *LocalBroker) GetPoolSize() int
- func (l *LocalBroker) LSend(queueName string, msg message.Message) error
- func (l *LocalBroker) Next(queueName string) (message.Message, error)
- func (l *LocalBroker) Send(queueName string, msg message.Message) error
- func (l *LocalBroker) SetPoolSize(i int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerInterface ¶
type LocalBroker ¶
type LocalBroker struct {
// contains filtered or unexported fields
}
LocalBroker !!!只用于本地测试!!! !!! Only for local test !!!
func NewLocalBroker ¶
func NewLocalBroker() LocalBroker
func (*LocalBroker) Activate ¶
func (l *LocalBroker) Activate()
func (*LocalBroker) Clone ¶
func (l *LocalBroker) Clone() BrokerInterface
func (*LocalBroker) GetPoolSize ¶
func (l *LocalBroker) GetPoolSize() int
func (*LocalBroker) LSend ¶
func (l *LocalBroker) LSend(queueName string, msg message.Message) error
func (*LocalBroker) SetPoolSize ¶
func (l *LocalBroker) SetPoolSize(i int)
Click to show internal directories.
Click to hide internal directories.