config

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 5 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 {
	ClientID     string
	ClientSecret string
	Email        string
	Password     string
	VIN          string
}

Config is the main binary configuration.

func FromEnv

func FromEnv() Config

FromEnv returns a Config from the environment variables.

func New

func New(path string) Config

New returns a Config from a json file at the provided path.

Jump to

Keyboard shortcuts

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