mirror of
https://github.com/wahyd4/loginsrv.git
synced 2026-08-25 04:36:30 +10:00
go fmt
This commit is contained in:
@@ -235,7 +235,6 @@ func ServerClosed(appName string) {
|
||||
Logger.WithFields(fields).Infof("http server was closed: %v", appName)
|
||||
}
|
||||
|
||||
|
||||
func getRemoteIp(r *http.Request) string {
|
||||
if r.Header.Get("X-Cluster-Client-Ip") != "" {
|
||||
return r.Header.Get("X-Cluster-Client-Ip")
|
||||
|
||||
Reference in New Issue
Block a user