cmdline

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: GPL-2.0, GPL-2.0-or-later Imports: 6 Imported by: 0

Documentation

Overview

Package cmdline maps /proc/cmdline

Index

Constants

This section is empty.

Variables

View Source
var File = "/proc/cmdline"

Functions

This section is empty.

Types

type Cmdline

type Cmdline map[string]string

func New

func New() (keys []string, m Cmdline, err error)

func (Cmdline) Set

func (m Cmdline) Set(kv string)

Set() is m[KEY] = VALUE if kv has '=' and m[KEY] = "true" otherwise

func (Cmdline) String

func (m Cmdline) String() string

String() reformats the command line

Jump to

Keyboard shortcuts

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