model

package
v0.0.0-...-c4a5124 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenConfig

func OpenConfig(filename string) []byte

Types

type Config

type Config struct {
	Provider    Provider `yaml:"provider"`
	Environment []string `yaml:"environment"`
}

func (*Config) Load

func (m *Config) Load(data []byte)

type Provider

type Provider struct {
	Name      string `yaml:"name"`
	Token     string `yaml:"token"`
	Address   string `yaml:"address"`
	AccessKey string `yaml:"access_key"`
	SecretKey string `yaml:"secret_key"`
}

Jump to

Keyboard shortcuts

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