Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchTransactionDO ¶
type BranchTransactionDO struct { Xid string `xorm:"xid"` TransactionId int64 `xorm:"transaction_id"` BranchId int64 `xorm:"branch_id"` ResourceGroupId string `xorm:"resource_group_id"` ResourceId string `xorm:"resource_id"` BranchType string `xorm:"branch_type"` Status int32 `xorm:"status"` ClientId string `xorm:"client_id"` ApplicationData []byte `xorm:"application_data"` GmtCreate time.Time `xorm:"gmt_create"` GmtModified time.Time `xorm:"gmt_modified"` }
BranchTransactionDO for persist BranchTransaction.
type GlobalTransactionDO ¶
type GlobalTransactionDO struct { Xid string `xorm:"xid"` TransactionId int64 `xorm:"transaction_id"` Status int32 `xorm:"status"` ApplicationId string `xorm:"application_id"` TransactionServiceGroup string `xorm:"transaction_service_group"` TransactionName string `xorm:"transaction_name"` Timeout int32 `xorm:"timeout"` BeginTime int64 `xorm:"begin_time"` ApplicationData []byte `xorm:"application_data"` GmtCreate time.Time `xorm:"gmt_create"` GmtModified time.Time `xorm:"gmt_modified"` }
GlobalTransactionDO for persist GlobalTransaction.
type LockDO ¶
type LockDO struct { Xid string `xorm:"xid"` TransactionId int64 `xorm:"transaction_id"` BranchId int64 `xorm:"branch_id"` ResourceId string `xorm:"resource_id"` TableName string `xorm:"table_name"` Pk string `xorm:"pk"` RowKey string `xorm:"row_key"` GmtCreate time.Time `xorm:"created"` GmtModified time.Time `xorm:"updated"` }
LockDO for persist Lock.
type SessionCondition ¶
type SessionCondition struct { TransactionId int64 Xid string Status meta.GlobalStatus Statuses []meta.GlobalStatus OverTimeAliveMills int64 }
SessionCondition for query GlobalSession
Click to show internal directories.
Click to hide internal directories.