config

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 4 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 {
	DatabaseURL            string
	ReadDatabaseURLs       string
	ConnectionLimit        int
	ConnectionPoolLimit    int
	GoogleClientID         string
	GoogleClientSecret     string
	GoogleRedirectURL      string
	SessionSecret          []byte
	EncryptionKey          []byte
	Port                   string
	WorkerPort             string
	Env                    string
	AdminPassword          string
	KafkaHost              string
	KafkaPort              string
	KafkaAccessKey         []byte
	KafkaAccessCert        []byte
	KafkaCACert            []byte
	KafkaPartitions        int
	KafkaReplicationFactor int
	ValkeyURI              string
	TelegramProxyURL       string
	ProxySecretKey         string
	TelegramGroupID        string
	TelegramGroupTopicID   string
	From                   string
}

func Load

func Load() *Config

Jump to

Keyboard shortcuts

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