Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: Apache-2.0 Imports: 2 Imported by: 56

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatChainName

func FormatChainName(name string, id string) string

Generates a chain name to be used with iptables. Ensures that the generated chain name is exactly maxChainLength chars in length

func FormatComment

func FormatComment(name string, id string) string

FormatComment returns a comment used for easier rule identification within iptables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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