Commit Graph

13 Commits

Author SHA1 Message Date
90b232aa05 Add Command method to NFT interface and RunWithOutput support to command package 2025-10-22 20:59:49 +05:00
e7e53fc123 Add Chain API for managing nftables chains, including Add, Create, Delete, Clear, and Rename operations. 2025-10-22 20:56:46 +05:00
09ac999346 Add NETDEV type to Type enum and update String method 2025-10-20 22:45:13 +05:00
9210448f16 Add Version method to NFT interface and implementation
Include `RunWithOutput` support in the command package and introduce version parsing logic, enabling retrieval of the nftables version and options.
2025-10-20 22:44:40 +05:00
c3a513f92c Improve documentation for API interface in table package. 2025-10-19 22:54:04 +05:00
5b19993343 Refactor table management to use a dedicated API and improve command handling. 2025-10-19 22:50:14 +05:00
d056f5dbf8 Changed the name parameter to nameTable in methods for working with tables. 2025-10-19 21:12:25 +05:00
1a62968d1d Add ClearTable method to NFT interface and implementation. 2025-10-19 20:25:36 +05:00
053ca9a37f Add DeleteTable method to NFT interface and implementation. 2025-10-19 20:11:45 +05:00
7cd41f8491 Improve documentation for Clear and AddTable methods in NFT interface. 2025-10-19 19:55:42 +05:00
f5b1888420 Add initial nftables client implementation 2025-10-19 14:53:51 +05:00
dd963a343a Initialize Go module for the project 2025-10-19 14:52:37 +05:00
c9852eb196 Add MIT license to the project 2025-10-19 12:44:55 +05:00