nfsconf

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PathToNfsConf = "/etc/nfs.conf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Comment     string
	ConfigKey   string
	ConfigValue string
}

func Parse

func Parse(line string) (*Configuration, error)

func (*Configuration) String

func (c *Configuration) String() string

type NfsConf

type NfsConf []*Configuration

func (*NfsConf) AlreadyExists

func (n *NfsConf) AlreadyExists(c *Configuration) bool

func (*NfsConf) ConfigKeyExists

func (n *NfsConf) ConfigKeyExists(key string) bool

func (*NfsConf) String

func (n *NfsConf) String() string

Jump to

Keyboard shortcuts

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