conf

package
v0.0.0-...-72a6970 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 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 {
	Key    string
	Secret string
}

Config all of the configuration options.

func (*Config) GetAPI

func (c *Config) GetAPI() string

GetAPI return the API url string.

func (*Config) GetAuth

func (c *Config) GetAuth() (string, string)

GetAuth return the header string for API call.

func (*Config) Load

func (c *Config) Load() error

Load the config.

Jump to

Keyboard shortcuts

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