config

package
v0.0.0-...-51f1e59 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2020 License: MIT 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 {
	ClientID     string
	ClientSecret string
}

Config describes the basic configuration architecture

func Create

func Create(configPath string) (*Config, error)

Create creates the configuration by requesting from stdin

func Read

func Read(configPath string) (*Config, error)

Read reads the configuration based on a filesystem path

Jump to

Keyboard shortcuts

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