config

package
v0.0.0-...-925f33a Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2019 License: AGPL-3.0 Imports: 1 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 {
	ListenAddr string `envconfig:"LISTEN_ADDR" default:":3333"`

	TwilioWebhookToken string `envconfig:"TWILIO_WEBHOOK_TOKEN" required:"true"`
	TwilioAccountSID   string `envconfig:"TWILIO_ACCOUNT_SID" required:"true"`
	TwilioAuthToken    string `envconfig:"TWILIO_AUTH_TOKEN" required:"true"`
	TwilioPhoneNumber  string `envconfig:"TWILIO_PHONE_NUMBER" required:"true"`
	TwilioRecipient    string `envconfig:"TWILIO_RECIPIENT" required:"true"`
}

func Get

func Get() Config

Jump to

Keyboard shortcuts

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