package
Version:
v0.0.0-...-0ad932f
Opens a new window with list of versions in this module.
Published: Nov 17, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Auth struct {
Context string `toml:"context"`
Name string `toml:"name"`
Value string `toml:"value"`
}
type Config struct {
Telegram Telegram `toml:"telegram"`
DataSource DataSource `toml:"datasource"`
}
type DataSource struct {
Host string `toml:"host"`
Port int `toml:"port"`
Method string `toml:"method"`
Auth Auth `toml:"auth"`
Interval string `toml:"interval"`
Params Params `toml:"params"`
TokenPath string `toml:"token_path"`
}
type Telegram struct {
AppId int `toml:"app_id"`
AppHash string `toml:"app_hash"`
PhoneNumber string `toml:"phone_number"`
TrojanContactName string `toml:"trojan_contact_name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.