config

package
v0.0.0-...-e61f4bf Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 6 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",
	ExposeHeaders:    "Content-Length",
	AllowCredentials: true,
}
View Source
var DBUlbimariainfo = atdb.DBInfo{
	DBString: MariaStringAkademik,
	DBName:   "db_ulbi",
}
View Source
var DBUlbimongoinfo = atdb.DBInfo{
	DBString: MongoString,
	DBName:   "undangan_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")
View Source
var Usertables = [4]whatsauth.LoginInfo{mhs, dosen, user, user1}

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