5 func RandomTransactionId() TransactionId {
6 return TransactionId(rand.Uint32())
9 type TransactionResponseHandler func(dr DispatchedResponse)
11 type Transaction struct {
14 h TransactionResponseHandler
17 func (t *Transaction) Id() TransactionId {
21 func (t *Transaction) End() {
22 t.d.forgetTransaction(t.id)