config

package
v0.0.0-...-0093ca0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiWaButton string = os.Getenv("URLAPIWABUTTON")
View Source
var Cors = cors.Config{
	AllowOrigins:     strings.Join(origins[:], ","),
	AllowMethods:     "GET,HEAD,OPTIONS,POST,PUT,DELETE",
	AllowHeaders:     "Origin, X-Requested-With, Content-Type, Accept, Authorization, Access-Control-Request-Headers, Token, Access-Control-Allow-Origin",
	ExposeHeaders:    "Content-Length",
	AllowCredentials: true,
}
View Source
var DBUlbimongoinfo = atdb.DBInfo{
	DBString: MongoString,
	DBName:   "tes_db",
}
View Source
var Internalhost string = os.Getenv("INTERNALHOST") + ":" + os.Getenv("PORT")
View Source
var Iteung = fiber.Config{
	Prefork:       true,
	CaseSensitive: true,
	StrictRouting: true,
	ServerHeader:  "Iteung",
	AppName:       "Message Router",
}
View Source
var MariaStringAkademik string = os.Getenv("MARIASTRINGAKADEMIK")
View Source
var MongoString string = os.Getenv("MONGOSTRING")
View Source
var PrivateKey string = os.Getenv("PRIVATEKEY")
View Source
var PublicKey string = os.Getenv("PUBLICKEY")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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