Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Providers map[string]Provider
Providers tracks loaded providers.
Functions ¶
func AddProvider ¶
AddProvider should be called within your provider's init() func. This will register the provider so it can be used.
func DisplayProviders ¶
func DisplayProviders() string
DisplayProviders displays all the loaded providers.
func ExpandProvider ¶ added in v0.1.8
ExpandProvider expands the passed in provider to the full value.
func Language ¶ added in v0.2.1
func Language() string
Language returns the users language code. Eg. "en", "es", etc
func ProviderNames ¶ added in v0.1.8
func ProviderNames() []string
ProviderNames returns a sorted slice of provider names.
Types ¶
Click to show internal directories.
Click to hide internal directories.