handler

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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) Handle

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

Handle 事件处理

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