config

package
v0.0.0-...-3e644ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BotToken       string
	APIID          int
	APIHash        string
	ChannelID      int64
	LogChatID      int64
	BackupChatID   int64
	TelegraphToken string

	GitHubAppID          int64
	GitHubInstallationID int64
	GitHubPrivateKeyPath string

	GeminiToken string

	SchemeRepoOwner string
	SchemeRepoName  string

	BannerURL string

	BannersRepoOwner string
	BannersRepoName  string

	WorkDir    string
	JadxJar    string
	ExtractJar string
	JavaBin    string

	JadxThreads int
	JadxJVMOpts string

	DBHost     string
	DBPort     int
	DBUser     string
	DBPassword string
	DBName     string

	ValkeyAddr string
}

func Load

func Load() (*Config, error)

func (*Config) DSN

func (c *Config) DSN() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL