config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName        = "login-server"
	ConfigFileName = "config"

	ConfigKeyLogLevel  = "log.level"
	ConfigKeyLogFormat = "log.format"
	ConfigKeyLogColor  = "log.color"

	ConfigKeyO11yHost = "o11y.host"
	ConfigKeyO11yPort = "o11y.port"

	ConfigKeyGinMode = "gin.mode"
	ConfigKeyGinPort = "gin.port"
	ConfigKeyGinHost = "gin.host"

	ConfigKeyCacheRedisHost     = "cache.redis.host"
	ConfigKeyCacheRedisPort     = "cache.redis.port"
	ConfigKeyCacheRedisDB       = "cache.redis.db"
	ConfigKeyCacheRedisPassword = "cache.redis.password"

	ConfigKeyCacheTTL = "cache.ttl"

	ConfigKeyArgoCDServerURL = "argo-cd.server-url"
	ConfigKeyArgoCDUsername  = "argo-cd.username"
	ConfigKeyArgoCDPassword  = "argo-cd.password"

	ConfigKeyGhostServerURL = "ghost.server-url"
	ConfigKeyGhostOriginURL = "ghost.origin-url"
	ConfigKeyGhostUsername  = "ghost.username"
	ConfigKeyGhostPassword  = "ghost.password"

	ConfigKeyN8NServerURL = "n8n.server-url"
	ConfigKeyN8NUsername  = "n8n.username"
	ConfigKeyN8NPassword  = "n8n.password"
)

Variables

This section is empty.

Functions

func InitViper

func InitViper() error

func InitZerolog

func InitZerolog()

Types

This section is empty.

Jump to

Keyboard shortcuts

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