config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 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",
	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 DBMongoInfo = atdb.DBInfo{
	DBString: MongoString,
	DBName:   "suratdibai",
}
View Source
var DBUlbimariainfo = atdb.DBInfo{
	DBString: MariaStringAkademik,
	DBName:   "db_ulbi",
}
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 IteungIPAddress string = os.Getenv("ITEUNGBEV1")
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