Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectConfig ¶
type OperationCallback ¶
type RmqService ¶
type RmqService struct {
// contains filtered or unexported fields
}
func Init ¶
func Init(config *ConnectConfig) *RmqService
func (*RmqService) GetConfig ¶
func (r *RmqService) GetConfig() *ConnectConfig
func (*RmqService) Publish ¶
func (r *RmqService) Publish(message []byte) bool
type SenderWorker ¶
type SenderWorker struct {
*Worker
}
func (*SenderWorker) GetHandle ¶
func (senderWorker *SenderWorker) GetHandle() OperationCallback
GetHandle returns the message handling function (here as an example)
Click to show internal directories.
Click to hide internal directories.