config

package
v0.0.0-...-14a8109 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 2 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 {
	Login      string
	Pass       string
	Host       string
	Port       string
	DBPath     string
	PubkeyPath string
}

Config is storing web & database credentials, public key for checking sign on apla's binary

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser(filepath string) Parser

func (*Parser) Do

func (p *Parser) Do() (Config, error)

Do parsing config from filepath to struct

Jump to

Keyboard shortcuts

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