Documentation
¶
Index ¶
Constants ¶
View Source
const ( LogInfo = "\t[HTTP INFO]\t" LogError = "\t[HTTP ERROR]\t" LogDebug = "\t[HTTP DEBUG]\t" PARAM_JID = "jid" METHOD_ACCESS = "method" DOMAIN_ACCESS = "domain" TRANSACTION_ID = "transaction_id" TIMEOUTE = "timeout" ROUTE_ROOT = "/" ROUTE_AUTH = "/auth" RETURN_VALUE_OK = "OK" RETURN_VALUE_NOK = "NOK" StatusUnknownError = 520 StatusUnreachable = 523 )
Variables ¶
View Source
var ( HttpPortBind = 9090 HttpsPortBind = 9093 CertPath = "./cert.pem" KeyPath = "./key.pem" ChanRequest = make(chan interface{}, 5) TimeoutSec = 60 // 1 min MaxTimeout = 300 // 5 min )
Functions ¶
func Run ¶
func Run()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.