Documentation
¶
Index ¶
Constants ¶
View Source
const ProviderModelSeparator = "/"
ProviderModelSeparator is the the separator between a provider and a model.
Variables ¶
View Source
var Providers = map[string]Provider{}
Providers holds a register of all providers.
Functions ¶
Types ¶
type InjectToken ¶
type InjectToken interface {
// SetToken sets an access token to be used to authenticate a remote API.
SetToken(token string)
}
InjectToken is a provider that needs an access token to authenticate a remote API.
Click to show internal directories.
Click to hide internal directories.