package
Version:
v0.0.0-...-0133d04
Opens a new window with list of versions in this module.
Published: Dec 1, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Config holds configuration for the project.
NewConfig creates an instance of Config.
It needs the path of the env file to be used.
type Raindrop struct {
BaseURL string `env:"RAINDROP_BASE_URL,required"`
Token string `env:"RAINDROP_TOKEN,required"`
}
Raindrop holds configuration related to Raindrop API.
type Telegram struct {
OwnerID int64 `env:"TELEGRAM_OWNER_ID,required"`
WebhookURL string `env:"TELEGRAM_WEBHOOK_URL,required"`
Token string `env:"TELEGRAM_TOKEN,required"`
}
Telegram holds configuration related to Telegram bot.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.