config

package
v0.0.0-...-80d44ff Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

config.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKeys           []string
	IPWhitelist       []string
	WorkerAddr        string
	ServerPort        string
	LogLevel          string
	DBType            string
	DBHost            string
	DBPort            string
	DBUser            string
	DBPassword        string
	DBName            string
	GrpcServerAddress string
}

func LoadConfig

func LoadConfig(logger *slog.Logger) (*Config, error)

Jump to

Keyboard shortcuts

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