config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{}

Functions

This section is empty.

Types

type Config

type Config struct {
	SchemeToEnv struct {
		Enabled bool   `yaml:"Enabled,omitempty"`
		Name    string `yaml:"Name,omitempty"`
	} `yaml:"SchemeToEnv,omitempty"`
	HostToEnv struct {
		Enabled  bool   `yaml:"Enabled,omitempty"`
		Segments int    `yaml:"Segments,omitempty"`
		Name     string `yaml:"Name,omitempty"`
	} `yaml:"HostToEnv,omitempty"`
	AuthTokenToEnv struct {
		Enabled bool   `yaml:"Enabled,omitempty"`
		Name    string `yaml:"Name,omitempty"`
	} `yaml:"AuthTokenToEnv,omitempty"`
	GlobalHeaders []postman.Header `yaml:"GlobalHeaders,omitempty"`
}

func FromFile

func FromFile(filename string) (Config, error)

Jump to

Keyboard shortcuts

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