config

package
v0.0.0-...-4ee19c3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 6 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 {
	Server ServerConfig `yaml:"server"`
	Creds  CredsConfig  `yaml:"creds"`
}

Config ...

func GetConfig

func GetConfig() (*Config, error)

GetConfig ...

type CredsConfig

type CredsConfig struct {
	APIKEY string `yaml:"apikey"`
}

CredsConfig ..

type ServerConfig

type ServerConfig struct {
	URL string `yaml:"url"`
}

ServerConfig ..

Jump to

Keyboard shortcuts

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