handler

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileUploadedHandler

type FileUploadedHandler struct {
	event.DomainEventHandler[fileEvent.FileUploaded]
}

FileUploadedHandler 文件上传事件处理器

func NewFileUploadedHandler

func NewFileUploadedHandler() *FileUploadedHandler

NewFileUploadedHandler 创建文件上传事件处理器

func (*FileUploadedHandler) HandleTypedEvent added in v0.5.0

func (h *FileUploadedHandler) HandleTypedEvent(ctx context.Context, event any) error

HandleTypedEvent 处理通用类型的事件

func (*FileUploadedHandler) InterestedEventTypes added in v0.5.0

func (h *FileUploadedHandler) InterestedEventTypes() []string

InterestedEventTypes 返回感兴趣的事件类型列表

Jump to

Keyboard shortcuts

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