first
This commit is contained in:
8
DCIManager6/dci6-support-reader/server_nft_struct.go
Normal file
8
DCIManager6/dci6-support-reader/server_nft_struct.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package main
|
||||
|
||||
// я расчитываю в дальнейшем вернуться к этому. Json структура nftables непростая, поэтому я или разгадаю сам как её анмаршалить, или сопру из одной из двух библиотек на гитхабе. Или вообще их заиспользую.
|
||||
// пока что просто построчно выведу правила nft list ruleset
|
||||
|
||||
type nftRuleset struct {
|
||||
Lines []string `json:"lines"`
|
||||
}
|
||||
Reference in New Issue
Block a user