finnhub

package module
v0.0.0-...-00a2561 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// BaseURL ..
	BaseURL = "finnhub.io"

	// Version ..
	Version = "/api/v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKey string   `json:"apiKey"`
	Stocks []string `json:"stocks"`
}

Config ..

func NewSettingFromConfig

func NewSettingFromConfig() *Config

NewSettingFromConfig - get the widgets setting from config.json

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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