Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MenuChangeEventName 接收企业微信 OA 事件
MenuChangeEventName = "menu_change_events"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MenuChangeEventConsumer ¶
type MenuChangeEventConsumer struct {
// contains filtered or unexported fields
}
func NewMenuChangeEventConsumer ¶
func NewMenuChangeEventConsumer(q mq.MQ, svc service.Service) (*MenuChangeEventConsumer, error)
func (*MenuChangeEventConsumer) Consume ¶
func (c *MenuChangeEventConsumer) Consume(ctx context.Context) error
func (*MenuChangeEventConsumer) Start ¶
func (c *MenuChangeEventConsumer) Start(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.