file

package
v0.0.0-...-3029327 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Iface string `json:"interface"`
}

Config, 通用 JSON 化配置文件

func LoadConfig

func LoadConfig() Config

LoadConfig from file

func (*Config) Delete

func (c *Config) Delete() (bool, error)

Delete the configuration file

func (*Config) Update

func (c *Config) Update() error

Update the configuration file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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