8treenet / freedom

Freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。
Apache License 2.0
2.37k stars 227 forks source link

领域事件组件的Retry、BindRetryPubEvent、BindRetrySubEvent方法怎么使用 #49

Open dustinzyn opened 8 months ago

dustinzyn commented 8 months ago
image

这三个方法使用的话,要分别写在六边形里的哪一层,可以给个例子吗

8treenet commented 7 months ago

https://github.com/8treenet/freedom/blob/master/example/infra-example/adapter/controller/goods.go