Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContractAggregateType eventstore.AggregateType = "contract"
)
Variables ¶
This section is empty.
Functions ¶
func GetContractObjectID ¶
Types ¶
type ContractAggregate ¶
type ContractAggregate struct { *eventstore.CommonTenantIdAggregate Contract *model.Contract }
func NewContractAggregateWithTenantAndID ¶
func NewContractAggregateWithTenantAndID(tenant, id string) *ContractAggregate
func (*ContractAggregate) HandleGRPCRequest ¶
func (*ContractAggregate) When ¶
func (a *ContractAggregate) When(evt eventstore.Event) error
type ContractTempAggregate ¶
type ContractTempAggregate struct {
*eventstore.CommonTenantIdTempAggregate
}
func NewContractTempAggregateWithTenantAndID ¶
func NewContractTempAggregateWithTenantAndID(tenant, id string) *ContractTempAggregate
func (*ContractTempAggregate) HandleGRPCRequest ¶
Click to show internal directories.
Click to hide internal directories.