Add Batch API for building and executing batched nftables commands.
This commit is contained in:
@@ -8,6 +8,9 @@ type NFT interface {
|
||||
// You can execute your raw request.
|
||||
Command() Command
|
||||
|
||||
// ExecuteBatch executes a batch of commands.
|
||||
ExecuteBatch(batch Batch) error
|
||||
|
||||
// Clear clears all rules.
|
||||
//
|
||||
// This command is equivalent to:
|
||||
|
||||
Reference in New Issue
Block a user