event

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 9 Imported by: 0

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 struct {
	// contains filtered or unexported fields
}

func NewMenuChangeEventConsumer

func NewMenuChangeEventConsumer(q mq.MQ, svc service.Service) (*MenuChangeEventConsumer, error)
func (c *MenuChangeEventConsumer) Consume(ctx context.Context) error
func (c *MenuChangeEventConsumer) Start(ctx context.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL