config

package
v0.0.0-...-e7d42a4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: MIT Imports: 3 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 `yaml:"client_id"`
	ClientSecret string `yaml:"client_secret"`
	SessionID    string `yaml:"session_id"`
	Pin          string `yaml:"pin"`
	PinToken     string `yaml:"pin_token"`
	PrivateKey   string `yaml:"private_key"`
}

Config is used in user system.

func GetConfig

func GetConfig() *Config

func LoadConfig

func LoadConfig() (*Config, error)

Jump to

Keyboard shortcuts

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