sysctl

package
v2.0.2+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(path string) (bool, error)

Check that sysctl value is 1, the specified path has to start with /proc/sys. For paths outside of /proc/sys result is undetermented.

func Set

func Set(path string) error

Set systcl value to 1, the specified path has to start with /proc/sys. Example: /proc/sys/net/ipv4/conf/default/proxy_arp

Types

This section is empty.

Jump to

Keyboard shortcuts

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