Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
根据C定义不同的命令接口
func ApplyCommandDecorators ¶
func ApplyCommandDecorators[H any](handler CommandHandler[H], logger log.Logger) CommandHandler[H]
命令的装饰器。最外层是日志,其次是测量,最后才是业务命令
type QueryHandler ¶
func ApplyQueryDecorators ¶
func ApplyQueryDecorators[H any, R any](handler QueryHandler[H, R], logger log.Logger) QueryHandler[H, R]
Click to show internal directories.
Click to hide internal directories.