config

package
v0.0.0-...-a841241 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvDEV  envType = "DEV"
	EnvPROD envType = "PROD"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Env                envType
	Port               int
	NodeID             string
	AllowedOrigins     []string
	RedisAddr          string
	RedisPassword      string
	RedisDatabase      int
	TLSCertPath        string
	TLSKeyPath         string
	GatewayAddr        string
	GatewayKeyPath     string
	ChakraAddr         string
	ChakraKeyPath      string
	RoomImage          string
	RoomCPULimit       resource.Quantity
	RoomMemoryLimit    resource.Quantity
	RoomCPURequests    resource.Quantity
	RoomMemoryRequests resource.Quantity
	K8SConfigPath      string
}

func (*Config) IsDev

func (c *Config) IsDev() bool

Jump to

Keyboard shortcuts

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