firewalld

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cobra.Command{
	Use:   "firewalld",
	Short: "Continously updates a given firewall in the background",
	Long:  "Continously updates a given firewall using values received over IPC from main AliceNet process",
	Run:   FirewallDaemon,
}
View Source
var ErrNoConn = fmt.Errorf("no conn")

Functions

func FirewallDaemon

func FirewallDaemon(cmd *cobra.Command, args []string)

Types

type Response

type Response struct {
	Id     string          `json:"id"`
	Result json.RawMessage `json:"result,omitempty"`
	Error  *struct {
		// contains filtered or unexported fields
	} `json:"error,omitempty"`
}

type SubscriptionResult

type SubscriptionResult struct {
	Addrs []string
	Seq   uint
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL