config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: MIT Imports: 3 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 map[string]session.Session

Config allows to take a remote server address and password from the configuration file. This enables not to specify these flags when running the CLI.

Example: ```yaml default:

address: "127.0.0.1:16260"
password: "password"

```.

func ReadYamlConfig

func ReadYamlConfig(path string) (cfg Config, err error)

ReadYamlConfig reads config data from yaml file.

Jump to

Keyboard shortcuts

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