config

package
v0.0.0-...-0b835a5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read() error

func Workers

func Workers() int

func Write

func Write() error

Types

type Config

type Config struct {
	File    string `toml:"-"`
	WorkDir string `toml:"-"`

	Registry project.Registry `toml:"-"`

	General  *GeneralSettings  `toml:"general"`
	Projects []project.Project `toml:"project"`
}

func (*Config) Read

func (c *Config) Read() error

func (*Config) Write

func (c *Config) Write() error

type GeneralSettings

type GeneralSettings struct {
	MaxWorkers int `toml:"parallel_workers"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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