Documentation ¶
Index ¶
Constants ¶
View Source
const EXPR = "^[0-9a-zA-Z-_]{3,64}$"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventConsumer ¶
type EventConsumer struct { mq_http_sdk.MQConsumer // contains filtered or unexported fields }
type EventProducer ¶
type EventProducer struct { mq_http_sdk.MQProducer // contains filtered or unexported fields }
type EventServer ¶
type EventServer struct { *mq_http_sdk.AliyunMQClient // contains filtered or unexported fields }
func NewEventServer ¶
func NewEventServer(config *Config, logger log.LoggerContextIface) (*EventServer, error)
func (*EventServer) Subscribe ¶
func (h *EventServer) Subscribe(toipc, tag, consumer string, handler interface{}) error
订阅消息
type EventServerIface ¶
type ProducerIface ¶
Click to show internal directories.
Click to hide internal directories.