config

package
v0.1.1-0...-c17c15d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Unlicense Imports: 4 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 {
	Fs  afero.Fs
	Log *logrus.Logger
}

Config represents collection of system and configuration objects

func GetConfig

func GetConfig() *Config

GetConfig returns system configuration

type Logger

type Logger logrus.FieldLogger

Logger is an interface with richer methods set than StdLogger

type RemoteRepository

type RemoteRepository interface {
	Download(log Logger, url string, path string) error
}

RemoteRepository is an interface for downloadning different kinds of repositories

Jump to

Keyboard shortcuts

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