config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const BLANK = ""

Variables

This section is empty.

Functions

func GetConfigPath

func GetConfigPath(argConfigPath string) (string, string)

Types

type Configuration

type Configuration struct {
	Version   string                                `json:"version"`
	Main      invokers.CommandEntrypoint            `json:"main-resource"`
	Resources map[string]invokers.CommandEntrypoint `json:"resources"`
	Unformed  map[string]interface{}                `json:"unformed"`
}

type Loader

type Loader struct{}

func NewLoader

func NewLoader() *Loader

func (*Loader) Load

func (m *Loader) Load(file string) (*Configuration, error)

Jump to

Keyboard shortcuts

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