Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig Log LoggingConfig JWT JWTConfig DB DBConfig TG TGConfig CronJobs CronJobConfig Cache struct { MaxSize int RedisAddr string RedisPass string } }
type CronJobConfig ¶
type LoggingConfig ¶
type ServerConfig ¶
type TGConfig ¶
type TGConfig struct { AppId int AppHash string RateLimit bool RateBurst int Rate int DeviceModel string SystemVersion string AppVersion string LangCode string SystemLangCode string LangPack string SessionFile string DisableStreamBots bool BgBotsCheckInterval time.Duration Proxy string ReconnectTimeout time.Duration PoolSize int64 EnableLogging bool Uploads struct { EncryptionKey string Threads int MaxRetries int Retention time.Duration } Stream struct { MultiThreads int Buffers int ChunkTimeout time.Duration } }
Click to show internal directories.
Click to hide internal directories.