Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadSystemProperty ¶
func ReadSystemProperty(prop *SystemProperty) ([]byte, error)
ReadSystemProperty reads a value from a key under /proc/sys.
func WriteSystemProperty ¶
func WriteSystemProperty(prop *SystemProperty) error
WriteSystemProperty writes a value to a key under /proc/sys.
Types ¶
type SystemProperty ¶
SystemProperty represents a kernel system property.
func (*SystemProperty) Path ¶
func (prop *SystemProperty) Path() string
Path returns the path to the systctl file under /proc/sys.
Click to show internal directories.
Click to hide internal directories.