Categorygithub.com/ekuu/dgo
modulepackage
0.0.0-20231123164226-0948bf3364ed
Repository: https://github.com/ekuu/dgo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewAggBase constructor.
NewAggBaseOptions new options struct.
No description provided by the author
No description provided by the author
No description provided by the author
NewEvent constructor.
NewEventOptions new options struct.
No description provided by the author
No description provided by the author
No description provided by the author
NewServiceOptions[A AggBase] new options struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithAggBaseCreatedAt createdAt option of aggBase.
WithAggBaseId id option of aggBase.
WithAggBaseNow now option of aggBase.
No description provided by the author
WithAggBaseUpdatedAt updatedAt option of aggBase.
WithAggBaseVersion version option of aggBase.
No description provided by the author
No description provided by the author
WithEventCreatedAt createdAt option of Event.
WithEventName name option of Event.
No description provided by the author
WithEventTopic topic option of Event.
WithEventUuid uuid option of Event.
WithServiceBus bus option of service.
WithServiceIdGenerator idGenerator option of service.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BatchEntry 批量命令返回条目.
No description provided by the author
Event 事件 go:generate gogen option -n Event -r payload -s name,topic,createdAt,uuid --with-init.
SubscribeRule 订阅规则.
TransactionBusTracer 为TransactionBus添加trace支持.

# Interfaces

No description provided by the author
AggBase 聚合基础接口.
AggBaseOption option interface.
AggConstructor 构造器接口.
AggNamer 实现此接口,则该聚合的名称为AggName()的返回值.
Bus 事件总线.
DryRunner dry runner.
EventNamer 实现此接口,则事件名称为EventName()的返回值.
EventOption option interface.
Handler 命令处理接口.
IDGenerator ID生成接口.
MultiDocuments 该接口应由聚合实现 如果聚合的数据存储分布在mysql的多个表中,或者mongodb的多个集合中,或者redis的多个key中的类似情况 那么该聚合应该实现此接口,以决定在进行仓储操作时自动区分是否启用事务.
NormalBus 普通总线.
No description provided by the author
Repo 仓储接口.
No description provided by the author
ServiceOption[A AggBase] option interface.
No description provided by the author
TopicNamer 实现此接口,则消息的topic值为TopicName()的返回值.
TransactionBus 事务总线.
No description provided by the author
Validator validator.
Vid version and ID.

# Type aliases

No description provided by the author
No description provided by the author
Events 事件切片.
No description provided by the author
ID 聚合根ID.
No description provided by the author