Skip to content

Commit f7ac5a3

Browse files
Added Request body for transaction scheduling
1 parent 6e3a5b7 commit f7ac5a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/types/transaction.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ import (
1212
needs rewriting same code multiple times.
1313
*/
1414

15+
/* request body for scheduling transaction */
16+
type ScheduleTransactionRequest struct {
17+
Operation OperationType `json:"operation"`
18+
TargetPath string `json:"targetPath"`
19+
Entries []ACLEntry `json:"entries"`
20+
}
21+
1522
/* represents the result of the transaction */
1623
type TxnStatus string
1724

0 commit comments

Comments
 (0)