package
Version:
v0.0.0-...-e5aaa3f
Opens a new window with list of versions in this module.
Published: Feb 8, 2020
License: GPL-3.0
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
¶
type Config struct {
HTTPS HTTPS `yaml:"https"`
Telegram Telegram `yaml:"telegram"`
Postgres Postgres `yaml:"postgres"`
}
type HTTPS struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
Public string `yaml:"public"`
Private string `yaml:"private"`
Cross []string `yaml:"cross"`
}
type Postgres struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Username string `yaml:"username"`
Password string `yaml:"password"`
Database string `yaml:"database"`
Schema string `yaml:"schema"`
}
type Telegram struct {
Master int `yaml:"master"`
Forward int64 `yaml:"forward"`
Token string `yaml:"token"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.