config

package
v0.0.0-...-f647b64 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2017 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrusherConfig

type CrusherConfig struct {
	Servers servers.Servers
}

func ReadConfig

func ReadConfig() (*CrusherConfig, error)

Reads in the config and returns a CrusherConfig struct

func (*CrusherConfig) AddServer

func (c *CrusherConfig) AddServer() error

Interactive new server setup

func (*CrusherConfig) DeleteServer

func (c *CrusherConfig) DeleteServer() error

Delete a specific server from the config file

func (*CrusherConfig) SaveConfig

func (c *CrusherConfig) SaveConfig() error

Save our list of servers into the config file

Jump to

Keyboard shortcuts

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