config

package
v0.0.0-...-ea22c33 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = &configuration{}

config the settings variable

Functions

func Load

func Load(configFile string, p Parser)

Load the JSON config file

Types

type Parser

type Parser interface {
	ParseJSON([]byte) error
}

Parser must implement ParseJSON

type SpeechToTextOptions

type SpeechToTextOptions struct {
	URL       string `json:"URL"`
	IAMApiKey string `json:"IAMApiKey"`
}

SpeechToTextV1Options : Service options

Jump to

Keyboard shortcuts

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