You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tm.go 293 B

3 years ago
1234567891011121314151617
  1. package protocol
  2. type RegisterTMRequest struct {
  3. AbstractIdentifyRequest
  4. }
  5. func (req RegisterTMRequest) GetTypeCode() int16 {
  6. return TypeRegClt
  7. }
  8. type RegisterTMResponse struct {
  9. AbstractIdentifyResponse
  10. }
  11. func (resp RegisterTMResponse) GetTypeCode() int16 {
  12. return TypeRegCltResult
  13. }

Go Implementation For Seata