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.
|
- package getty
-
- import (
- "github.com/transaction-wg/seata-golang/pkg/base/protocal"
- )
-
- // MessageFuture ...
- type MessageFuture struct {
- ID int32
- Err error
- Response interface{}
- Done chan bool
- }
-
- // NewMessageFuture ...
- func NewMessageFuture(message protocal.RpcMessage) *MessageFuture {
- return &MessageFuture{
- ID: message.ID,
- Done: make(chan bool),
- }
- }
|