config

package
v0.0.0-...-009ff64 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 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 AsclepiusDataStore

type AsclepiusDataStore struct {
	Endpoint     string
	User         string
	Password     string
	DatabaseName string
}

type GlobalConfig

type GlobalConfig struct {
	Messenger MessengerConfig
	Watson    WatsonConfig
	Twilio    TwilioConfig
	Storage   AsclepiusDataStore
}

func LoadFromVault

func LoadFromVault() (*GlobalConfig, error)

type MessengerConfig

type MessengerConfig struct {
	AccessToken  string
	VerifySecret string
	PageID       string
}

type TwilioConfig

type TwilioConfig struct {
	AccountID string
	AuthToken string
}

type WatsonConfig

type WatsonConfig struct {
	URL         string
	Version     string
	AssistantID string
	APIKey      string
}

Jump to

Keyboard shortcuts

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