Версия 0.1.0 #1

Merged
kor-elf merged 15 commits from develop into main 2025-10-22 23:10:42 +05:00
Showing only changes of commit 7cd41f8491 - Show all commits

6
nft.go
View File

@@ -7,9 +7,15 @@ import (
// NFT A client for working with nftables
type NFT interface {
// Clear clears all rules.
//
// This command is equivalent to:
// nft flush ruleset
Clear() error
// AddTable adds a new table.
//
// This command is equivalent to:
// nft add table (ip|ip6|inet|arp|bridge) {name}
AddTable(family FamilyType, name string) error
}