iptables

package
v0.0.0-...-d8b4333 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	Data [][]string `json:"data"`
	Name string     `json:"name"`
}

type Collector

type Collector struct {
	Tables []Table
}

func New

func New() *Collector

func (*Collector) ListChains

func (c *Collector) ListChains() (map[string][]string, error)

func (*Collector) Stats

func (c *Collector) Stats() error

func (*Collector) String

func (c *Collector) String() string

type Table

type Table struct {
	Chains []*Chain `json:"chains"`
	Name   string   `json:"name"`
}

Jump to

Keyboard shortcuts

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