internal

package
v0.0.0-...-948be2e Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(env Env)

Types

type Env

type Env struct {
	AppEnv        string `json:"app_env"`
	ServerAddress string `json:"address"`
	ServerPort    string `json:"port"`
	TimeOut       int    `json:"timeout"`
}

func LoadEnv

func LoadEnv(environment string, changeEnvChan chan Env) *Env

func (*Env) CombineServerAddress

func (env *Env) CombineServerAddress() string

type EnvInteface

type EnvInteface interface {
	CombineServerAddress() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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