<prompt> Unda programu ya Golang ambayo hutumika kama seva mbadala, ikisambaza maombi yanayoingia ya HTTP kwa seva nyingine maalum huku ombi la kuingia na maelezo ya majibu kwenye hifadhidata ya MySQL. Tekeleza kikomo cha viwango ili kuzuia matumizi mabaya ya seva mbadala.PLINFORMAT  <response>: kifurushi kikuukuagiza databasesqlfmtioioutilloginethttpwakatigithub.comdidiptollboothgithub.comdidiptollboothlimiter_ github.comgo-sql-drivermysqlconst targetServer dsn jina la mtumiaji:passwordtcplocalhost:3306dbnamefunc main db, makosa : sql.Funguamysql, dsnikiwa makosa ! nil log.Fatalhitilafuahirisha db.Fungalmt : tollbooth.NewLimiter1, limiter.ExpirableOptionsDefaultExpirationTTL: time.Hourlmt.SetIPLookupsstringRemoteAddr, X-Forwarded-For, X-Real-IPhttp.Handle, tollbooth.LimitFuncHandlerlmt, funcw http.ResponseWriter, r http.Ombi startTime : time.Nowjibu, kosa : http.DefaultTransport.RoundTriprikiwa makosa ! nil http.Errorw, err.Error, http.StatusBadGatewaykurudikwa ufunguo, thamani : range resp.Header kwa _, thamani : thamani mbalimbali w.Kichwa.Ongezaufunguo, thamanibodyBytes, _ : ioutil.ReadAllresp.Bodyw.WriteHeaderresp.StatusCodew.AndikabodyBytesmuda : muda.TangustartTimenenda logRequestdb, r, resp, mudalog.PrintlnKuanzisha seva mbadala mnamo :8080log.Fatalhttp.ListenAndServe:8080, nilfunc logRequestdb sql.DB, r http.Ombi, jibu http.Jibu, muda wa muda.Duration swali : INGIZA KATIKA logi_ya_ombi mteja_ip, mbinu, njia, wakala_wa_mtumiaji, msimbo_hali, wakati_wa_majibuTHAMANI ?, ?, ?, ?, ?,?stmt, err : db.Preparehojaikiwa makosa ! nil log.PrintlnHitilafu katika kuandaa hoja:, hitilafukurudidefer stmt.CloseclientIP : r.Header.GetX-Forwarded-Forikiwa mtejaIP mtejaIP r.RemoteAddruserAgent : r.UserAgent_, err stmt.ExecmtejaIP, r.Method, r.URL.Path, userAgent, resp.StatusCode, duration.Millisecondsikiwa makosa ! nil log.PrintlnHitilafu katika kutekeleza swali:, hitilafu 