config

package
v0.0.0-...-8b5928e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ConfFileEnvVar = "CONFIG_FILE"
View Source
const DefaultConfFile = "conf.toml"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WebStaticFilesPath string
	CORSAllowedOrigins []string
	AccountManager     accounts.Config
	SecretManager      secrets.Config
	InstanceManager    instances.Config
	EncryptionService  encryption.Config
	DatabaseService    database.Config
	WebRTC             WebRTCConfig
}

func LoadConfig

func LoadConfig() (*Config, error)

type WebRTCConfig

type WebRTCConfig struct {
	STUNServers []string
}

Jump to

Keyboard shortcuts

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