utils

package module
v0.0.0-...-d21232e Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WebError

func WebError(ctx *gin.Context, err error, message string)

Types

type Environment

type Environment struct {
	DbHost       string
	DbPort       string
	DbUser       string
	DbPassword   string
	DbName       string
	AllowOrigins string
	DeployURL    string
	ServerPort   string
}

func GetEnvironment

func GetEnvironment() (*Environment, error)

Jump to

Keyboard shortcuts

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