Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Apps ¶
type Apps interface {
// Calls each for every chat app of the profile of the settings, with what a person calls the app and whether the profile has it
// turned on with all it needs to connect
Apps(cfg *config.Config, each func(title string, set bool))
}
The chat apps of a profile: the host of the chat apps
type Credentials ¶
type Credentials interface {
// After the variable was saved over the value it held: copies of the old value in api key settings take the new one, the providers that
// read it take it again, and what held back the accounts it is the key of on the old value is cleared
Saved(cfg *config.Config, name, old, value string) error
// After the variable was removed: the providers that read it leave it out until it is set again, and copies of its old value in api key
// settings are removed. Whether a setting held a copy
Removed(cfg *config.Config, name, old string) (bool, error)
}
What else changes when config set or unset writes a credential variable of the profile's .env: the credentials host
Click to show internal directories.
Click to hide internal directories.