flags

package
v0.0.0-...-a10cf02 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package config provides an abstraction for application configuration. Configuration could come from the environment, config files, or be directly set programatically.

Index

Constants

View Source
const (
	TwilioAccountID  = "account_id"
	TwilioAuthToken  = "auth_token"
	TwilioFromNumber = "twilio_from_number"
)

Variables

This section is empty.

Functions

func Get

func Get(property string) interface{}

Get returns a property from the configuration with the given key

func GetString

func GetString(property string) string

GetString returns a property from the configuration type-asserted to a string

func Set

func Set(key string, value interface{})

Set allows overriding of the environment configuration programatically

Types

This section is empty.

Jump to

Keyboard shortcuts

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