Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Configuration = struct { Bot BotConfiguration `yaml:"bot"` Telegram TelegramConfiguration `yaml:"telegram"` Database DatabaseConfiguration `yaml:"database"` Lnbits LnbitsConfiguration `yaml:"lnbits"` Generate GenerateConfiguration `yaml:"generate"` Nostr NostrConfiguration `yaml:"nostr"` Pos PosConfiguration `yaml:"pos"` Voucherbot VoucherbotConfiguration `yaml:"voucherbot"` }{}
Functions ¶
This section is empty.
Types ¶
type BotConfiguration ¶
type BotConfiguration struct { SocksProxy *SocksConfiguration `yaml:"socks_proxy,omitempty"` TorProxy *SocksConfiguration `yaml:"tor_proxy,omitempty"` LNURLServer string `yaml:"lnurl_server"` LNURLServerUrl *url.URL `yaml:"-"` LNURLHostName string `yaml:"lnurl_public_host_name"` LNURLHostUrl *url.URL `yaml:"-"` LNURLSendImage bool `yaml:"lnurl_image"` AdminAPIHost string `yaml:"admin_api_host"` Name string `yaml:"name"` Username string `yaml:"username"` Botadmin string `yaml:"botadmin"` }
type DatabaseConfiguration ¶
type GenerateConfiguration ¶
type LnbitsConfiguration ¶
type NostrConfiguration ¶
type NostrConfiguration struct {
PrivateKey string `yaml:"private_key"`
}
type PosConfiguration ¶
type SocksConfiguration ¶
type TelegramConfiguration ¶
Click to show internal directories.
Click to hide internal directories.