config

package
v0.0.0-...-ac35e32 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// server name
	APP_NAME string = "bb.app.boilerplate"
	// server description
	APP_DESCRIPTION string = "bb.app.boilerplate is a microservice boilerplate for Bulut-Bilisimciler"
	// API Route Prefix if exist (e.g "" or "/api-boilerplate")
	API_PREFIX string = "/api-boilerplate"
	// Resource Name Prefix if exist (e.g "bb.app.boilerplate")
	RN_PREFIX string = "bb.app.boilerplatesvc"
	// Nats FN Prefix if exist (e.g "bb.app.boilerplate")
	FN_PREFIX string = "bb.fn.boilerplatesvc"
)

Variables

View Source
var C config
View Source
var IsProd bool

Functions

func ReadConfig

func ReadConfig(absoluteConfigDir string, echoEnv bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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