config

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 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 Configuration

type Configuration struct {
	Environment                   string
	DatabaseUrl                   string
	JwtSecret                     string
	RedisHost                     string
	RedisPort                     string
	RedisPassword                 string
	RedisDb                       int
	ObjectStorageServiceAccessKey string
	ObjectStorageServiceSecretKey string
	ObjectStorageServiceEndpoint  string
	ObjectStorageServiceRegion    string
	ObjectStorageServiceBucket    string
	InK8s                         bool
	DockerImageName               string
	GraphqlServerPort             string
	RestServerPort                string
}

func LoadServerConfig

func LoadServerConfig() *Configuration

Jump to

Keyboard shortcuts

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