nfsserver

package module
v0.0.0-...-8b08ab0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NfsServer

func NfsServer(ai *await.Interrupt)

Types

type Config

type Config struct {
	Exports []Export `json:"exports"`
}

func ReadConfig

func ReadConfig(path string) (*Config, error)

ReadConfig initializes Config

func (*Config) GenExports

func (c *Config) GenExports() string

type Export

type Export struct {
	Path  string  `json:"path"`
	Rules []Rules `json:"rules"`
}

type Rules

type Rules struct {
	IP      string   `json:"ip"`
	Options []string `json:"options"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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